code: def get_op_cfg_generator(op_names, dtype):
      all_ops_cfgs = get_all_ops_cfgs(dtype)
      for op_name in set(op_names):
          args_cfgs = all_ops_cfgs[op_name]
          args_cfgs = resolve_cfg_references(args_cfgs, all_ops_cfgs)
          for args_scenario in product_dict(args_cfgs):
              yield (op_name, args_scenario)
  
file_path: mxnet/tests/python/dnnl/op_cfg.py
imports: from collections import namedtuple
  from itertools import product
  from functools import partial
  import mxnet
  from mxnet.base import _is_np_op, _NP_OP_PREFIX, _NP_EXT_OP_PREFIX, _NP_INTERNAL_OP_PREFIX, _OP_NAME_PREFIX_LIST
label_desc: Use image node_id 8 for calling a global function with example usage: get_op_cfg_generator(op_names, dtype) without return types