data_juicer.ops.load module#

data_juicer.ops.load.load_ops(process_list, op_env_manager=None)[源代码]#

Load op list according to the process list from config file.

参数:
  • process_list -- A process list. Each item is an op name and its arguments.

  • op_env_manager -- The OPEnvManager to try to merge environment specs of different OPs that have common dependencies. Only available when min_common_dep_num_to_combine >= 0.

返回:

The op instance list.