class_docstr: A wrapper of feature data for access.
docstr: Update the feature.
  
  Parameters
  ----------
  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",".","Parameters","--","--","--","--","--","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, value: torch.Tensor, ids: torch.Tensor = None):
      """Update the feature.
  
      Parameters
      ----------
      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.
      """
      raise NotImplementedError
  
file_path: dgl/python/dgl/graphbolt/feature_store.py
imports: import torch
label_desc: Use image node_id 4 for calling the Feature obj's underlying member method code with example usage: obj.update(value, ids) without return types