class_docstr: Iterator over a dataset with elements converted to numpy.
  
  Note: This iterator returns read-only numpy arrays.
  
  This iterator (compared to `tf.data.Dataset.as_numpy_iterator()`) does not
  copy the data when comverting `tf.Tensor`s to `np.ndarray`s.
  
  TODO(b/178684359): Remove this when it is upstreamed into `tf.data`.
code: def __init__(self, dataset):
      self._iterator: Iterator[types.NestedTensor] = iter(dataset)
  
file_path: acme/acme/datasets/numpy_iterator.py
imports: from typing import Iterator
  from acme import types
  import numpy
  import tree
label_desc: Use image node_id 1 to create a new NumpyIterator object from inherited base classes: Iterator with example: obj = NumpyIterator(dataset)