code: def prepare_op_inputs(arg_params, arg_values):
      inputs = []
  
      for arg_value in arg_values:
          inp = {}
          for arg_name in arg_params["params"]["arg_names"]:
              if arg_name in arg_value:
                  inp[arg_name] = arg_value[arg_name]
          inputs.append(inp)
      return inputs
  
imports: from operator import itemgetter
  from mxnet import runtime
  import mxnet
  from benchmark.opperf.rules.default_params import DEFAULTS_INPUTS, DEFAULTS_INPUTS_LARGE_TENSOR, MX_OP_MODULE
label_desc: Use image node_id 4 for calling a global function with example usage: prepare_op_inputs(arg_params, arg_values) and returns: inputs