code: def test_apply_saved_transform_dataset_map(self, exported_in_tf1):
      ds = tf.data.Dataset.from_tensor_slices({"x": [[1237.0]]})
      model_loader = self._get_saved_model_loader(exported_in_tf1)
  
      def map_fn(inputs):
          result = model_loader.apply_transform_model(inputs)
          self.assertEqual(["x_scaled"], list(result))
          result_tensor = result["x_scaled"]
          self.assertIsInstance(result_tensor, tf.Tensor)
          self.assertEqual(result_tensor.shape.as_list(), [1])
          return result
  
      result_ds = ds.map(map_fn)
      self.assertAllEqual(
          list(result_ds.as_numpy_iterator()), [{"x_scaled": [247.0]}]
      )
  
imports: import os
  import shutil
  import tempfile
  import numpy
  import tensorflow
  from tensorflow_transform import graph_context
  from tensorflow_transform import impl_helper
  from tensorflow_transform import tf_utils
  from tensorflow_transform import test_case
  from tensorflow_transform.py_func.api import apply_pyfunc
  from tensorflow_transform.saved import constants
  from tensorflow_transform.saved import saved_transform_io
  from tensorflow_transform.saved import saved_transform_io_v2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import script_ops
label_desc: Use image node_id 4 for calling the SavedTransformIOV2Test obj's underlying member method code with example usage: obj.test_apply_saved_transform_dataset_map(exported_in_tf1) and returns: result