code: def save_model_with_single_input(self, export_dir):
      builder = tf.compat.v1.saved_model.builder.SavedModelBuilder(
          export_dir
      )
      with tf.compat.v1.Graph().as_default() as graph:
          with self.test_session(graph=graph) as sess:
              input1 = tf.compat.v1.placeholder(
                  dtype=tf.int32, shape=[5], name="myinput"
              )
              initializer = tf.compat.v1.initializers.constant(
                  [1, 2, 3, 4, 5]
              )
              with tf.compat.v1.variable_scope(
                  "Model", reuse=None, initializer=initializer
              ):
                  v1 = tf.compat.v1.get_variable(
                      "v1", [5], dtype=tf.int32
                  )
              output1 = tf.add(v1, input1, name="myadd")
              inputs = {"single_input": input1}
              outputs = {"single_output": output1}
              signature_def_map = {
                  "my_signature_single_input": tf.compat.v1.saved_model.signature_def_utils.predict_signature_def(
                      inputs, outputs
                  )
              }
              sess.run(tf.compat.v1.global_variables_initializer())
              builder.add_meta_graph_and_variables(
                  sess,
                  [tf.saved_model.SERVING],
                  signature_def_map=signature_def_map,
              )
              builder.save(False)
  
file_path: transform/tensorflow_transform/pretrained_models_test.py
imports: import os
  import tensorflow
  from tensorflow_transform import pretrained_models
label_desc: Use image node_id 1 for calling the PretrainedModelsTest obj's underlying member method code with example usage: obj.save_model_with_single_input(export_dir) without return types