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: Update 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.
  value : torch.Tensor
      The updated value of the feature.
  ids : torch.Tensor, optional
      The indices of the feature to update. If specified, only the
      specified indices of the feature will be updated. For the feature,
      the `ids[i]` row is updated to `value[i]`. So the indices and value
      must have the same length. If None, the entire feature will be
      updated.
docstr_tok: ["Update","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",".","value",":","torch.Tensor","The","updated","value","of","the","feature",".","ids",":","torch.Tensor",",","optional","The","indices","of","the","feature","to","update",".","If","specified",",","only","the","specified","indices","of","the","feature","will","be","updated",".","For","the","feature",",","the","`","ids","[","i","]","`","row","is","updated","to","`","value","[","i","]","`",".","So","the","indices","and","value","must","have","the","same","length",".","If","None",",","the","entire","feature","will","be","updated","."]
code: def update(
      self,
      domain: str,
      type_name: str,
      feature_name: str,
      value: torch.Tensor,
      ids: torch.Tensor = None,
  ):
      """Update 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.
      value : torch.Tensor
          The updated value of the feature.
      ids : torch.Tensor, optional
          The indices of the feature to update. If specified, only the
          specified indices of the feature will be updated. For the feature,
          the `ids[i]` row is updated to `value[i]`. So the indices and value
          must have the same length. If None, the entire feature will be
          updated.
      """
      self._features[(domain, type_name, feature_name)].update(
          value, 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 5 for calling the BasicFeatureStore obj's underlying member method code with example usage: obj.update(domain, type_name, feature_name, value, ids) without return types