class_docstr: Duck-typed version of PyG's GraphStore and FeatureStore.
class_docstr_tok: ["Duck-typed","version","of","PyG","'s","GraphStore","and","FeatureStore","."]
docstr: Infers the tensor attributes/features.
docstr_tok: ["Infers","the","tensor","attributes\/features","."]
code: def __infer_existing_tensors(self, F) -> None:
      """
      Infers the tensor attributes/features.
      """
      for attr_name, types_with_attr in F.get_feature_list().items():
          for vt in types_with_attr:
              attr_dtype = F.get_data(
                  np.array([0]), vt, attr_name
              ).dtype
              self.create_named_tensor(
                  attr_name=attr_name,
                  properties=None,
                  vertex_type=vt,
                  dtype=attr_dtype,
              )
  
imports: from typing import Optional, Tuple, Any, Union, List, Dict
  from enum import Enum, auto
  from dataclasses import dataclass
  from collections import defaultdict
  from itertools import chain
  from functools import cached_property
  import numpy
  import cupy
  import pandas
  import cudf
  import cugraph
  import warnings
  import dask.array
  import dask.dataframe
  import dask.distributed
  import dask_cudf
  from cugraph.utilities.utils import import_optional, MissingModule
label_desc: Use image node_id 27 for calling the CuGraphStore obj's underlying member method code with example usage: obj.__infer_existing_tensors(F) without return types