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 __init__(self, iterator, iter_limit):
      self.iterator = iterator
      self.iter_limit = iter_limit
  
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 1 to create a new FiniteIterator object  with example: obj = FiniteIterator(iterator, iter_limit)