class_docstr: Legacy version of PPI Dataset
class_docstr_tok: ["Legacy","version","of","PPI","Dataset"]
docstr: Get the item^th sample.
  
  Paramters
  ---------
  idx : int
      The sample index.
  
  Returns
  -------
  (dgl.DGLGraph, Tensor, Tensor)
      The graph, features and its label.
docstr_tok: ["Get","the","item^th","sample",".","Paramters","--","--","--","--","-","idx",":","int","The","sample","index",".","Returns","--","--","--","-","(","dgl.DGLGraph",",","Tensor",",","Tensor",")","The","graph",",","features","and","its","label","."]
code: def __getitem__(self, item):
      """Get the item^th sample.
  
      Paramters
      ---------
      idx : int
          The sample index.
  
      Returns
      -------
      (dgl.DGLGraph, Tensor, Tensor)
          The graph, features and its label.
      """
      if self._transform is None:
          g = self.graphs[item]
      else:
          g = self._transform(self.graphs[item])
      return g, g.ndata["feat"], g.ndata["label"]
  
imports: import json
  import os
  import networkx
  import numpy
  from networkx.readwrite import json_graph
  from ..None import backend
  from ..convert import from_networkx
  from .dgl_dataset import DGLBuiltinDataset
  from .utils import _get_dgl_url, load_graphs, load_info, save_graphs, save_info
label_desc: Use image node_id 1 for calling the LegacyPPIDataset obj's underlying member method code with example usage: obj.__getitem__(item) and returns: g,  g,  g