code: def testNestedStructure(self):
      point = collections.namedtuple("Point", ["x", "y"])
      ds = dataset_ops.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(ds.as_numpy_iterator()),
      )
  
imports: import collections
  import os
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.checkpoint import checkpoint_options
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import test
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
label_desc: Use image node_id 3 for calling the AsNumpyIteratorTest obj's underlying member method code with example usage: obj.testNestedStructure() without return types