class_docstr: Graph Dataloader
      
class_docstr_tok: ["Graph","Dataloader"]
docstr: __iter__
docstr_tok: ["__iter__"]
code: def __iter__(self):
      """__iter__"""
  
      def func_run():
          for batch_examples in self.batch_iter():
              batch_dict = self.batch_fn(batch_examples)
              yield batch_dict
  
      r = paddle.reader.buffered(func_run, self.buf_size)
  
      for batch in r():
          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 6 for calling the GraphDataloader obj's underlying member method code with example usage: obj.__iter__() without return types