code: def _create_test_saved_model_dir():
      export_path = os.path.join(tempfile.mkdtemp(), "export")
  
      with tf.compat.v1.Graph().as_default():
          with tf.compat.v1.Session().as_default() as session:
              input_float = tf.compat.v1.placeholder(
                  tf.float32, shape=[1]
              )
              output = (input_float - 2.0) / 5.0
              inputs = {"x": input_float}
              outputs = {"x_scaled": output}
              saved_transform_io.write_saved_transform_from_session(
                  session, inputs, outputs, export_path
              )
  
      return export_path
  
file_path: transform/tensorflow_transform/saved/saved_model_loader_test.py
imports: import os
  import tempfile
  import tensorflow
  from tensorflow_transform.saved import saved_transform_io
  import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: _create_test_saved_model_dir() and returns: export_path