class_docstr: Dataset for Graph Isomorphism Network (GIN)
  Adapted from https://github.com/weihua916/powerful-gnns/blob/master/dataset.zip.
class_docstr_tok: ["Dataset","for","Graph","Isomorphism","Network","(","GIN",")","Adapted","from","https",":","\/\/github.com\/weihua916\/powerful-gnns\/blob\/master\/dataset.zip","."]
docstr: getitem
docstr_tok: ["getitem"]
code: def __getitem__(self, idx):
      """getitem"""
      return self.graph_list[idx], self.glabel_list[idx]
  
imports: import os
  import sys
  import numpy
  from sklearn.model_selection import StratifiedKFold
  import pgl
  from pgl.utils.logger import log
label_desc: Use image node_id 3 for calling the GINDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: self,  self