code: def testGetInputSpecsWithSignatures(
      self, save_as_keras, signature_name
  ):
      export_path = self.createModelWithSingleInput(save_as_keras)
      if save_as_keras:
          model = tf.keras.models.load_model(export_path)
      else:
          model = tf.compat.v1.saved_model.load_v2(export_path)
      self.assertEqual(
          {
              "input": tf.TensorSpec(
                  name="input", shape=(None, 1), dtype=tf.string
              ),
          },
          model_util.get_input_specs(model, signature_name),
      )
  
imports: import tempfile
  import unittest
  from absl.testing import parameterized
  import apache_beam
  from apache_beam.testing import util
  import numpy
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.utils import model_util
  from tensorflow_model_analysis.utils import util
  from tfx_bsl.tfxio import tf_example_record
  from google.protobuf import text_format
  from tensorflow.core.protobuf import saved_model_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 19 for calling the ModelUtilTest obj's underlying member method code with example usage: obj.testGetInputSpecsWithSignatures(save_as_keras, signature_name) without return types