code: def __iter__(self):
      self.i = 0
      self.n = self.batch_size
      return self
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali
  import nvidia.dali.ops
  import nvidia.dali.plugin_manager
  import unittest
  import os
  import numpy
  import tempfile
label_desc: Use image node_id 2 for calling the ExternalInputIterator obj's underlying member method code with example usage: obj.__iter__() and returns: self