class_docstr: Used to wrap RandomlyShapedDataIterator to add iteration counts and finite data size
class_docstr_tok: ["Used","to","wrap","RandomlyShapedDataIterator","to","add","iteration","counts","and","finite","data","size"]
code: def __iter__(self):
      self.i = 0
      return self
  
imports: import copy
  import numpy
  import nvidia.dali.plugin.tf
  import tensorflow
  from nvidia.dali import Pipeline, fn
  from test_utils import RandomlyShapedDataIterator
label_desc: Use image node_id 2 for calling the FiniteIterator obj's underlying member method code with example usage: obj.__iter__() and returns: self