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 = (
          sparse_tensor.SparseTensorValue(  # indices, values, shape
              np.empty((0, 2), dtype=np.int64),  # indices
              np.empty((0,), dtype=np.int64),  # sp_a is DT_INT64
              np.array([2, 0], dtype=np.int64),
          )
      )  # batch == 2, max_elems = 0
  
      expected_output = {
          sparse_name: expected_st_a,
          a_name: np.array(2 * [[a_default]]),
          b_name: np.array(2 * [b_default]),
          c_name: np.array(2 * [c_default]),
      }
  
      self._test(
          ops.convert_to_tensor(["", ""]),
          {
              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_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 3 for calling the ParseExampleDatasetTest obj's underlying member method code with example usage: obj.testEmptySerializedWithAllDefaults() without return types