code: def test_get_tensor_from_tensor_attrs(graph):
      F, G, N = graph
      cugraph_store = CuGraphStore(F, G, N)
  
      tensor_attrs = cugraph_store.get_all_tensor_attrs()
      for tensor_attr in tensor_attrs:
          v_ids = np.arange(N[tensor_attr.group_name])
          data = F.get_data(
              v_ids, tensor_attr.group_name, tensor_attr.attr_name
          )
  
          tensor_attr.index = v_ids
          assert (
              cugraph_store.get_tensor(tensor_attr).tolist()
              == data.tolist()
          )
  
imports: import cugraph
  from cugraph_pyg.data.cugraph_store import CuGraphTensorAttr, CuGraphEdgeAttr, EdgeLayout
  from cugraph_pyg.data import CuGraphStore
  import cudf
  import cupy
  import numpy
  from cugraph.utilities.utils import import_optional, MissingModule
  import pytest
label_desc: Use image node_id 17 for calling a global function with example usage: test_get_tensor_from_tensor_attrs(graph) without return types