class_docstr: Graph Dataloader
      
class_docstr_tok: ["Graph","Dataloader"]
docstr: batch_iter
docstr_tok: ["batch_iter"]
code: def batch_iter(self, fid):
      """batch_iter"""
      if self.shuffle:
          for batch in batch_iter(
              self, self.batch_size, fid, self.num_workers
          ):
              yield batch
      else:
          for batch in scan_batch_iter(
              self, self.batch_size, fid, self.num_workers
          ):
              yield batch
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from __future__ import absolute_import
  import os
  import sys
  import time
  import argparse
  import numpy
  import collections
  import paddle
  import paddle.fluid
  import paddle.fluid.layers
  import pgl
  from pgl.utils import mp_reader
  from pgl.utils.logger import log
label_desc: Use image node_id 3 for calling the GraphDataloader obj's underlying member method code with example usage: obj.batch_iter(fid) without return types