dcase_util.processors.ProcessingChain.push_processor
- ProcessingChain.push_processor(processor_name, init_parameters=None, process_parameters=None, preprocessing_callbacks=None, input_type=None, output_type=None)[source]
Push processor item to the chain, if item already exists in the processing chain update only parameters. Processor name is considered unique in the processing chain.
- Parameters
- processor_namestr
processor name
- init_parametersdict
Processor initialization parameters Default value None
- process_parametersdict
Parameters for the process method Default value None
- preprocessing_callbackslist of dicts
Default value None
- input_typeProcessingChainItemType
Input data type of the processor Default value None
- output_typeProcessingChainItemType
Output data type of the processor Default value None
- Returns
- self