class
SpecAugment2D
PythonMask frequency (height) and time (width), independently per example.
SpecAugment2D( freq_mask_param: int, time_mask_param: int, n_freq_mask: int = 1, n_time_mask: int = 1, mask_value: float = 0.0, **kwargs={},)Mask frequency (height) and time (width), independently per example.
Base class: BaseAugmentation2D.
Inherited from BaseAugmentation: augment_masks(), augment_sample(), augment_targets(), batch_augment(), call().
method
get_random_transformations(input_shape)method
augment_samples
Pythonaugment_samples(inputs)method
get_config
Pythonget_config()