code: def convert_keras_model_as_saved_model(model, **kwargs):
      with tempfile.TemporaryDirectory() as saved_model_dir:
          model.save(saved_model_dir, save_format="tf")
          return convert_saved_model(saved_model_dir, **kwargs)
  
imports: import functools
  import os
  import sys
  import tempfile
  import larq
  import numpy
  import pytest
  import tensorflow
  import tensorflow_datasets
  from larq_compute_engine.mlir.python.converter import convert_keras_model, convert_saved_model
  from larq_compute_engine.tflite.python.interpreter import Interpreter
  from preprocess import preprocess_image_tensor, IMAGE_SIZE
label_desc: Use image node_id 1 for calling a global function with example usage: convert_keras_model_as_saved_model(model) and returns: convert_saved_model