code: def testSerializedContainingDense(self):
      aname = "a"
      bname = "b*has+a:tricky_name"
      original = [
          example(
              features=features(
                  {
                      aname: float_feature([1, 1]),
                      bname: bytes_feature([b"b0_str"]),
                  }
              )
          ),
          example(
              features=features(
                  {
                      aname: float_feature([-1, -1]),
                      bname: bytes_feature([b""]),
                  }
              )
          ),
      ]
  
      serialized = [m.SerializeToString() for m in original]
  
      expected_output = {
          aname: np.array(  # pylint: disable=too-many-function-args
              [[1, 1], [-1, -1]], dtype=np.float32
          ).reshape(2, 1, 2, 1),
          bname: np.array(  # pylint: disable=too-many-function-args
              ["b0_str", ""], dtype=bytes
          ).reshape(2, 1, 1, 1, 1),
      }
  
      # No defaults, values required
      self._test(
          ops.convert_to_tensor(serialized),
          {
              aname: parsing_ops.FixedLenFeature(
                  (1, 2, 1), dtype=dtypes.float32
              ),
              bname: parsing_ops.FixedLenFeature(
                  (1, 1, 1, 1), dtype=dtypes.string
              ),
          },
          expected_values=expected_output,
          create_iterator_twice=True,
      )
  
imports: import copy
  from absl.testing import parameterized
  import numpy
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
  from tensorflow.python.data.experimental.ops import parsing_ops
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.kernel_tests import tf_record_test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.eager import context
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the ParseExampleDatasetTest obj's underlying member method code with example usage: obj.testSerializedContainingDense() without return types