code: def testDenseNotMatchingShapeShouldFail(self):
      original = example(
          features=features(
              {
                  "a": float_feature([-1, -1]),
              }
          )
      )
  
      serialized = original.SerializeToString()
  
      self._test(
          {
              "serialized": ops.convert_to_tensor(serialized),
              "features": {
                  "a": parsing_ops.FixedLenFeature(
                      (1, 3), dtypes.float32
                  )
              },
          },
          # TODO(mrry): Consider matching the `io.parse_example()` error message.
          expected_err=(errors_impl.OpError, "Key: a."),
      )
  
imports: import itertools
  import numpy
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
  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_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 4 for calling the ParseExampleTest obj's underlying member method code with example usage: obj.testDenseNotMatchingShapeShouldFail() without return types