code: def get_parameters(job):
      if not job["convert_from"] or not job["convert_to"]:
          logging.critical(
              "The job does not have correct file details. Please provide a 'convert_from' and 'convert_to' parameters."
          )
          return (None, None, None)
      model = job["convert_from"]
      output = job["convert_to"]
      skip = False  # for testing purposes only, skipping the model the user does not want to convert
      unknownargs = {}
      if "skip" in job:
          skip = job["skip"] == "True"
          if skip:
              return (model, output, skip, [])
  
      if "input_nodes" in job:
          unknownargs["input_nodes"] = job["input_nodes"]
  
      if "output_nodes" in job:
          unknownargs["output_nodes"] = job["output_nodes"]
  
      if "network_script" in job:
          unknownargs["net"] = job["network_script"]
  
      if "network_name" in job:
          unknownargs["net_name"] = job["network_name"]
  
      if "input_shape" in job:
          unknownargs["input_shape"] = job["input_shape"]
  
      if "frozen" in job:
          unknownargs["frozen"] = job["frozen"]
  
      if "onnx_opset" in job:
          unknownargs["opset"] = job["onnx_opset"]
  
      if "savedmodel_tag" in job:
          unknownargs["tag"] = job["savedmodel_tag"]
  
      if "savedmodel_signature" in job:
          unknownargs["signature"] = job["savedmodel_signature"]
  
      if "quantization" in job:
          if "optimization" in job["quantization"]:
              unknownargs["opt"] = job["quantization"]["optimization"]
          if "type" in job["quantization"]:
              unknownargs["type"] = job["quantization"]["type"]
          if "opsset" in job["quantization"]:
              unknownargs["ops"] = job["quantization"]["opsset"]
          if "load" in job["quantization"]:
              unknownargs["load"] = job["quantization"]["load"]
  
      other_args = []
      if ".onnx" in output and "opt" in unknownargs:
          unknownargs.pop("opt")
  
      for key in unknownargs:
          other_args.append("--" + key + " " + unknownargs[key] + " ")
  
      return (model, output, skip, other_args)
  
file_path: auptimizer/src/aup/dlconvert/__main__.py
imports: import argparse
  import os
  import sys
  import json
  import logging
  import coloredlogs
  import subprocess
  from ..utils import LOG_LEVEL
label_desc: Use image node_id 3 for calling a global function with example usage: get_parameters(job) and returns: model,  output,  skip,  other_args, None,  None,  None, model,  output,  skip,  list