code: def testEmptySerializedWithAllDefaults(self):
      sparse_name = "st_a"
      a_name = "a"
      b_name = "b"
      c_name = "c:has_a_tricky_name"
      a_default = [0, 42, 0]
      b_default = np.random.rand(3, 3).astype(bytes)
      c_default = np.random.rand(2).astype(np.float32)
  
      expected_st_a = (  # indices, values, shape
          np.empty((0, 1), dtype=np.int64),  # indices
          np.empty((0,), dtype=np.int64),  # sp_a is DT_INT64
          np.array([0], dtype=np.int64),
      )  # max_elems = 0
  
      expected_output = {
          sparse_name: expected_st_a,
          a_name: np.array([a_default]),
          b_name: np.array(b_default),
          c_name: np.array(c_default),
      }
  
      self._test(
          {
              "serialized": ops.convert_to_tensor(""),
              "features": {
                  sparse_name: parsing_ops.VarLenFeature(dtypes.int64),
                  a_name: parsing_ops.FixedLenFeature(
                      (1, 3), dtypes.int64, default_value=a_default
                  ),
                  b_name: parsing_ops.FixedLenFeature(
                      (3, 3), dtypes.string, default_value=b_default
                  ),
                  c_name: parsing_ops.FixedLenFeature(
                      (2,), dtypes.float32, default_value=c_default
                  ),
              },
          },
          expected_output,
      )
  
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 2 for calling the ParseExampleTest obj's underlying member method code with example usage: obj.testEmptySerializedWithAllDefaults() without return types