code: def test_apply_saved_transform_to_tensor_inside_scope(self):
      with tf.compat.v1.Graph().as_default():
          with tf.compat.v1.name_scope("my_scope"):
              with tf.compat.v1.Session().as_default() as session:
                  input_floats = tf.constant([1237.0])  # tf.float32
                  input_features = {"x": input_floats}
                  (
                      _,
                      transformed_features,
                  ) = saved_transform_io.partially_apply_saved_transform_internal(
                      self._test_saved_model, input_features
                  )
                  self.assertEqual(
                      ["x_scaled"], list(transformed_features)
                  )
                  result_tensor = transformed_features["x_scaled"]
                  self.assertAllEqual(
                      session.run(result_tensor), [247.0]
                  )
  
imports: import os
  import tempfile
  import numpy
  import tensorflow
  from tensorflow_transform.saved import saved_transform_io
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import lookup_ops
label_desc: Use image node_id 6 for calling the SavedTransformIOTest obj's underlying member method code with example usage: obj.test_apply_saved_transform_to_tensor_inside_scope() without return types