mltk.core.preprocess.audio.parallel_generator.ParallelProcessParams

class ParallelProcessParams[source]

Adds methods related to getting batches from filenames

It includes the logic to transform image files to batches.

Methods

__init__

__init__(audio_data_generator, sample_rate, sample_length_ms, sample_shape, save_to_dir, save_prefix, save_format, subset, class_indices, dtype, frontend_dtype, directory, class_mode, get_batch_function, noaug_preprocessing_function, preprocessing_function, postprocessing_function, frontend_enabled, add_channel_dimension)[source]