code: def testDictInputs(self):
      elements = [
          {"foo": [1, 2, 3], "bar": [[4.0], [5.0], [6.0]]},
          {"foo": [4, 5, 6], "bar": [[7.0], [8.0], [9.0]]},
      ]
      dataset = from_list.from_list(elements)
      self.assertEqual(
          dtypes.int32,
          dataset_ops.get_legacy_output_types(dataset)["foo"],
      )
      self.assertEqual(
          dtypes.float32,
          dataset_ops.get_legacy_output_types(dataset)["bar"],
      )
      self.assertEqual(
          (3,), dataset_ops.get_legacy_output_shapes(dataset)["foo"]
      )
      self.assertEqual(
          (3, 1), dataset_ops.get_legacy_output_shapes(dataset)["bar"]
      )
      self.assertDatasetProduces(dataset, expected_output=elements)
  
imports: import collections
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import from_list
  from tensorflow.python.data.experimental.ops import random_access
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the FromListTest obj's underlying member method code with example usage: obj.testDictInputs() without return types