data_juicer.ops.load module#
- data_juicer.ops.load.load_ops(process_list, op_env_manager=None)[source]#
Load op list according to the process list from config file.
- Parameters:
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.
- Returns:
The op instance list.