class_docstr: A basic feature store to manage multiple features for access.
class_docstr_tok: ["A","basic","feature","store","to","manage","multiple","features","for","access","."]
docstr: Read from the feature store.
  
  Parameters
  ----------
  domain : str
      The domain of the feature such as "node", "edge" or "graph".
  type_name : str
      The node or edge type name.
  feature_name : str
      The feature name.
  ids : torch.Tensor, optional
      The index of the feature. If specified, only the specified indices
      of the feature are read. If None, the entire feature is returned.
  
  Returns
  -------
  torch.Tensor
      The read feature.
docstr_tok: ["Read","from","the","feature","store",".","Parameters","--","--","--","--","--","domain",":","str","The","domain","of","the","feature","such","as","``","node","''",",","``","edge","''","or","``","graph","''",".","type_name",":","str","The","node","or","edge","type","name",".","feature_name",":","str","The","feature","name",".","ids",":","torch.Tensor",",","optional","The","index","of","the","feature",".","If","specified",",","only","the","specified","indices","of","the","feature","are","read",".","If","None",",","the","entire","feature","is","returned",".","Returns","--","--","--","-","torch.Tensor","The","read","feature","."]
code: def read(
      self,
      domain: str,
      type_name: str,
      feature_name: str,
      ids: torch.Tensor = None,
  ):
      """Read from the feature store.
  
      Parameters
      ----------
      domain : str
          The domain of the feature such as "node", "edge" or "graph".
      type_name : str
          The node or edge type name.
      feature_name : str
          The feature name.
      ids : torch.Tensor, optional
          The index of the feature. If specified, only the specified indices
          of the feature are read. If None, the entire feature is returned.
  
      Returns
      -------
      torch.Tensor
          The read feature.
      """
      return self._features[(domain, type_name, feature_name)].read(ids)
  
file_path: dgl/python/dgl/graphbolt/impl/basic_feature_store.py
imports: from typing import Dict, Tuple
  import torch
  from ..feature_store import Feature, FeatureStore
label_desc: Use image node_id 2 for calling the BasicFeatureStore obj's underlying member method code with example usage: obj.read(domain, type_name, feature_name, ids) and returns: self