class_docstr: Duck-typed version of PyG's GraphStore and FeatureStore.
class_docstr_tok: ["Duck-typed","version","of","PyG","'s","GraphStore","and","FeatureStore","."]
docstr: Obtains the size of a tensor given its attributes, or :obj:`None`
  if the tensor does not exist.
docstr_tok: ["Obtains","the","size","of","a","tensor","given","its","attributes",",","or",":","obj",":","`","None","`","if","the","tensor","does","not","exist","."]
code: def get_tensor_size(self, *args, **kwargs) -> Union[List, int]:
      """
      Obtains the size of a tensor given its attributes, or :obj:`None`
      if the tensor does not exist.
      """
      attr = self._tensor_attr_cls.cast(*args, **kwargs)
      if not attr.is_set("index"):
          attr.index = None
      return self._get_tensor_size(attr)
  
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 34 for calling the CuGraphStore obj's underlying member method code with example usage: obj.get_tensor_size() and returns: self