class_docstr: Storage for node/edge feature data.
class_docstr_tok: ["Storage","for","node\/edge","feature","data","."]
docstr: Fetch the features of the given node/edge IDs to the
  given device.
  Parameters
  ----------
  indices : Tensor
      Node or edge IDs.
  device : Device
      Device context.
  pin_memory : bool
      Wether to use pin_memory for fetching features
      pin_memory=True is currently not supported
  
  Returns
  -------
  Tensor
      Feature data stored in PyTorch Tensor.
docstr_tok: ["Fetch","the","features","of","the","given","node\/edge","IDs","to","the","given","device",".","Parameters","--","--","--","--","--","indices",":","Tensor","Node","or","edge","IDs",".","device",":","Device","Device","context",".","pin_memory",":","bool","Wether","to","use","pin_memory","for","fetching","features","pin_memory=True","is","currently","not","supported","Returns","--","--","--","-","Tensor","Feature","data","stored","in","PyTorch","Tensor","."]
code: def fetch(self, indices, device=None, pin_memory=False, **kwargs):
      """Fetch the features of the given node/edge IDs to the
      given device.
      Parameters
      ----------
      indices : Tensor
          Node or edge IDs.
      device : Device
          Device context.
      pin_memory : bool
          Wether to use pin_memory for fetching features
          pin_memory=True is currently not supported
  
      Returns
      -------
      Tensor
          Feature data stored in PyTorch Tensor.
      """
      if pin_memory:
          raise ValueError(
              "pinned memory not supported in dgl_FeatureStorage"
          )
      if isinstance(indices, torch.Tensor):
          indices = indices.long()
      t = self.fs.get_data(
          indices=indices,
          type_name=self.type_name,
          feat_name=self.feat_name,
      )
      if device:
          return t.to(device)
      else:
          return t
  
imports: from __future__ import annotations
  from cugraph.gnn import FeatureStore
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 2 for calling the dgl_FeatureStorage obj's underlying member method code with example usage: obj.fetch(indices, device, pin_memory) and returns: t, t