code: def main():
      converter = tf.lite.TFLiteConverter.from_concrete_functions(
          [func.get_concrete_function()]
      )
      converter.target_spec = tf.lite.TargetSpec()
      tflite_model = converter.convert()
      model_path = "/tmp/intermediate_tensor_output.tflite"
      with open(model_path, "wb") as f:
          f.write(tflite_model)
      print(f"TFLite model {model_path} is generated.\n")
  
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types