code: def convert(
      model: str,
      output: str,
      tag: str,
      signature: str,
      concrete_function: str,
  ):
      """Convert TF SavedModel to ONNX (currently only support TF2 and TF2 SavedModels)
  
      Args:
          model (str): TF SavedModel folder path
          output (str): ONNX output filename
          tag (str, optional): tag to use for SavedModel, default is "serve"
          signature (str, optional): signature to use for SavedModel, default is "serving_default"
          concrete_function (str, optional): index of func signature in __call__ to use instead of signature], default is None
      """
      if model[-1] != "/":
          model += "/"
      argv = {
          "saved-model": model,
          "output": output,
          "tag": tag,
          "signature_def": signature,
      }
      if concrete_function is not None:
          argv["concrete_function"] = concrete_function
  
      convert_onnx(**argv)
  
imports: from os import path
  from absl import flags, app
  from .utils import reset_flag
  import logging
  from .to_onnx import convert_onnx
label_desc: Use image node_id 1 for calling a global function with example usage: convert(model, output, tag, signature, concrete_function) without return types