code: def create_operators(op_param_list, global_config=None):
      """
      create operators based on the config
      Args:
          params(list): a dict list, used to create some operators
      """
      assert isinstance(
          op_param_list, list
      ), "operator config should be a list"
      ops = []
      for operator in op_param_list:
          assert (
              isinstance(operator, dict) and len(operator) == 1
          ), "yaml format error"
          op_name = list(operator)[0]
          param = {} if operator[op_name] is None else operator[op_name]
          if global_config is not None:
              param.update(global_config)
          op = eval(op_name)(**param)
          ops.append(op)
      return ops
  
imports: import numpy
  import paddle
  import os
  import cv2
  import glob
label_desc: Use image node_id 2 for calling a global function with example usage: create_operators(op_param_list, global_config) and returns: ops