code: def testNestedStructure(self):
      point = collections.namedtuple("Point", ["x", "y"])
      ds = tf.data.Dataset.from_tensor_slices(
          {
              "a": ([1, 2], [3, 4]),
              "b": [5, 6],
              "c": point([7, 8], [9, 10]),
          }
      )
      self.assertEqual(
          [
              {"a": (1, 3), "b": 5, "c": point(7, 9)},
              {"a": (2, 4), "b": 6, "c": point(8, 10)},
          ],
          list(numpy_iterator.NumpyIterator(ds)),
      )
  
file_path: acme/acme/datasets/numpy_iterator_test.py
imports: import collections
  from acme.datasets import numpy_iterator
  import tensorflow
  from absl.testing import absltest
label_desc: Use image node_id 2 for calling the NumpyIteratorTest obj's underlying member method code with example usage: obj.testNestedStructure() without return types