RandomCrop1D
PythonTraining-only crop; inference leaves the original duration unchanged.
RandomCrop1D(duration: int, unique_batch: bool = False, **kwargs={})Training-only crop; inference leaves the original duration unchanged.
Base class: BaseAugmentation1D.
Inherited from BaseAugmentation: augment_masks(), augment_sample(), augment_targets(), batch_augment(), call().
joint
Pythonjoint = Trueduration
Pythonduration = durationunique_batch
Pythonunique_batch = unique_batchget_random_transformations(input_shape)augment_samples
Pythonaugment_samples(inputs)get_config
Pythonget_config()