class_docstr: Represent a single graph with additional attributes.
class_docstr_tok: ["Represent","a","single","graph","with","additional","attributes","."]
docstr: Access and modify node feature vectors (tensor).
  This property can be accessed in a dict-of-dict fashion,
  with the order being [name][index].
  'name' indicates the name of the feature vector. 'index' selects
  the specific nodes to be accessed.
  When accessed independently, returns the feature dictionary with
  the format {name: tensor}.
  
  Examples
  --------
  >>> g = GraphData()
  >>> g.add_nodes(10)
  >>> import torch
  >>> g.node_features['x'] = torch.rand((10, 10))
  >>> g.node_features['x'][0]
  torch.Tensor([0.1036, 0.6757, 0.4702, 0.8938, 0.6337, 0.3290,
                0.6739, 0.1091, 0.7996, 0.0586])
  
  Returns
  -------
  NodeFeatView
code: def node_features(self) -> NodeFeatView:
      """
      Access and modify node feature vectors (tensor).
      This property can be accessed in a dict-of-dict fashion,
      with the order being [name][index].
      'name' indicates the name of the feature vector. 'index' selects
      the specific nodes to be accessed.
      When accessed independently, returns the feature dictionary with
      the format {name: tensor}.
  
      Examples
      --------
      >>> g = GraphData()
      >>> g.add_nodes(10)
      >>> import torch
      >>> g.node_features['x'] = torch.rand((10, 10))
      >>> g.node_features['x'][0]
      torch.Tensor([0.1036, 0.6757, 0.4702, 0.8938, 0.6337, 0.3290,
                    0.6739, 0.1091, 0.7996, 0.0586])
  
      Returns
      -------
      NodeFeatView
      """
  
      return self.nodes[:].features
  
imports: import os
  import warnings
  from collections import namedtuple
  from typing import Any, Callable, Dict, List, Tuple, Union
  import dgl
  import scipy.sparse
  import torch
  from torch.nn.utils.rnn import pad_sequence
  from .utils import EdgeNotFoundException, SizeMismatchException, check_and_expand, entail_zero_padding, int_to_list, slice_to_list
  from .views import BatchEdgeFeatView, BatchNodeFeatView, EdgeView, NodeFeatView, NodeView
label_desc: Use image node_id 6 for calling the GraphData obj's underlying member method code with example usage: obj.node_features() and returns: self