code: def testDatasetSpecInnerSpec(self):
      inner_spec = tensor_spec.TensorSpec(shape=(), dtype=dtypes.int32)
      ds_spec = dataset_ops.DatasetSpec(inner_spec)
      self.assertEqual(ds_spec.element_spec, inner_spec)
  
file_path: tensorflow/tensorflow/python/data/kernel_tests/dataset_spec_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the DatasetSpecTest obj's underlying member method code with example usage: obj.testDatasetSpecInnerSpec() without return types