code: def test_get_shape_from_examples_path(
      self, file_name_to_write, tfrecord_path_to_match
  ):
      example = example_pb2.Example()
      valid_shape = [1, 2, 3]
      example.features.feature["image/shape"].int64_list.value.extend(
          valid_shape
      )
      output_file = test_utils.test_tmpfile(file_name_to_write)
      tfrecord.write_tfrecords([example], output_file)
      ds = data_providers.DeepVariantInput(
          mode=tf_estimator.ModeKeys.PREDICT,
          name="test_shape",
          input_file_spec=test_utils.test_tmpfile(
              tfrecord_path_to_match
          ),
          num_examples=1,
      )
      self.assertEqual(valid_shape, ds.tensor_shape)
  
imports: import math
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow import estimator
  from deepvariant import data_providers
  from deepvariant import dv_config
  from deepvariant import dv_constants
  from deepvariant import dv_utils
  from deepvariant import testdata
  from deepvariant.protos import deepvariant_pb2
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import variant_utils
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 10 for calling the DataProviderTest obj's underlying member method code with example usage: obj.test_get_shape_from_examples_path(file_name_to_write, tfrecord_path_to_match) without return types