code: def onnx_simplify(onnx_path: str):
      """
      Simplify the ONNX model based on onnxsim.
      If simplification is successful, will overwrite new ONNX model to onnx_path
  
      :param onnx_path: File path of of onnx ModelProto object.
      """
      # load your predefined ONNX model
      model = onnx.load(onnx_path)
  
      # convert model
      model_simp, check = simplify(model)
  
      # overwrite model_simp to onnx_path
      if check is True:
          onnx.save(model_simp, onnx_path)
  
label_desc: Use image node_id 1 for calling a global function with example usage: onnx_simplify(onnx_path) without return types