code: def _getKerasModelFile(self):
      x = np.array([[1.0], [2.0]])
      y = np.array([[2.0], [4.0]])
  
      model = keras.models.Sequential(
          [
              keras.layers.Dropout(0.2, input_shape=(1,)),
              keras.layers.Dense(1),
          ]
      )
      model.compile(optimizer="sgd", loss="mean_squared_error")
      model.fit(x, y, epochs=1)
  
      keras_file = self._getFilepath("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 3 for calling the TestModels obj's underlying member method code with example usage: obj._getKerasModelFile() and returns: keras_file