code: def __iter__(self):
      self.n = self.start
      self.random_iter = iter(
          RandomlyShapedDataIterator(
              batch_size=1,
              min_shape=self.min_shape,
              max_shape=self.max_shape,
              seed=self.seed,
              dtype=self.dtype,
          )
      )
      return self
  
imports: import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.plugin.tf
  import tensorflow
  from nose.tools import nottest
  from nvidia.dali import pipeline_def
  from test_utils import RandomlyShapedDataIterator
label_desc: Use image node_id 2 for calling the RandomSampleIterator obj's underlying member method code with example usage: obj.__iter__() and returns: self