code: def convert(model: str, output: str):
      """Convert Keras model to ONNX
  
      Args:
          model (str): Keras h5 model file path
          output (str): output ONNX file path
      """
      model = keras.models.load_model(model)
      model = keras2onnx.convert_keras(model)
      with open(output, "wb") as fp:
          fp.write(model.SerializeToString())
  
file_path: auptimizer/src/aup/dlconvert/keras_to_onnx.py
imports: from os import path, environ
  import tf2onnx
  import keras2onnx
  from absl import flags, app
  from tensorflow.compat.v1 import keras
  from .utils import reset_flag
label_desc: Use image node_id 1 for calling a global function with example usage: convert(model, output) without return types