docstr: Builds a Keras model that parses and returns a single input tensor.
docstr_tok: ["Builds","a","Keras","model","that","parses","and","returns","a","single","input","tensor","."]
code: def _makeIdentityParsingModel(self):
      """Builds a Keras model that parses and returns a single input tensor."""
      inputs = tf.keras.Input(shape=(), dtype=tf.string)
      outputs = IdentityParsingLayer(feature_key="x")(inputs)
      model = tf.keras.Model(inputs=inputs, outputs=outputs)
      path = os.path.join(tempfile.mkdtemp(), "export_dir")
      tf.saved_model.save(model, path)
      return path
  
imports: import os
  import tempfile
  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 model_eval_lib
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.extractors import counterfactual_predictions_extractor
  from tensorflow_model_analysis.extractors import features_extractor
  from tensorflow_model_analysis.proto import config_pb2
  from tfx_bsl.tfxio import tensor_adapter
  from tfx_bsl.tfxio import test_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 1 for calling the CounterfactualPredictionsExtactorTest obj's underlying member method code with example usage: obj._makeIdentityParsingModel() and returns: path