code: def __iter__(self):
      # return a copy, so that the iteration number doesn't collide
      return BBoxDataIterator(
          self.n, self.batch_size, self.ndim, self.produce_labels
      )
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import pipeline_def
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  import random
label_desc: Use image node_id 3 for calling the BBoxDataIterator obj's underlying member method code with example usage: obj.__iter__() and returns: BBoxDataIterator