class_docstr: Graph Dataloader
      
class_docstr_tok: ["Graph","Dataloader"]
docstr: batch_iter 
docstr_tok: ["batch_iter"]
code: def batch_iter(self):
      """batch_iter"""
      if self.shuffle:
          for batch in batch_iter(self, self.batch_size):
              yield batch
      else:
          for batch in scan_batch_iter(self, self.batch_size):
              yield batch
  
file_path: PGL/legacy/examples/SAGPool/dataloader.py
imports: import numpy
  import collections
  import paddle
  import pgl
  from pgl.utils.logger import log
  from pgl.graph import Graph, MultiGraph
label_desc: Use image node_id 3 for calling the GraphDataloader obj's underlying member method code with example usage: obj.batch_iter() without return types