docstr: Returns a functional Keras model with output shapes [[1, 1], [1, 2]].
docstr_tok: ["Returns","a","functional","Keras","model","with","output","shapes","[","[","1",",","1","]",",","[","1",",","2","]","]","."]
code: def _getKerasFunctionalModelFile(self):
      """Returns a functional Keras model with output shapes [[1, 1], [1, 2]]."""
      input_tensor = keras.layers.Input(shape=(1,))
      output1 = keras.layers.Dense(1, name="b")(input_tensor)
      output2 = keras.layers.Dense(2, name="a")(input_tensor)
      model = keras.models.Model(
          inputs=input_tensor, outputs=[output1, output2]
      )
  
      keras_file = self._getFilepath("functional_model.h5")
      keras.models.save_model(model, keras_file)
      return keras_file
  
imports: import os
  from absl.testing import parameterized
  import numpy
  from tensorflow import keras
  from tensorflow.core.framework import graph_pb2
  from tensorflow.lite.python import test_util
  from tensorflow.lite.python import tflite_convert
  from tensorflow.lite.python.convert import register_custom_opdefs
  from tensorflow.python import tf2
  from tensorflow.python.client import session
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.importer import import_graph_def
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import saved_model
  from tensorflow.python.saved_model.save import save
  from tensorflow.python.trackable import autotrackable
  from tensorflow.python.training.training_util import write_graph
label_desc: Use image node_id 4 for calling the TestModels obj's underlying member method code with example usage: obj._getKerasFunctionalModelFile() and returns: keras_file