Rescaling1D
PythonRescale the input samples.
Rescaling1D(scale: float, **kwargs={})Rescale the input samples.
Base class: BaseAugmentation1D.
Inherited from BaseAugmentation: augment_masks(), augment_sample(), augment_targets(), batch_augment(), call(), get_random_transformations().
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
scale | float | Required | The scaling factor. |
training_only
Pythontraining_only = Falsescale
Pythonscale: float = scaleaugment_samples
PythonRescale a batch of samples during training.
augment_samples(inputs) -> keras.KerasTensorRescale a batch of samples during training.
get_config
PythonSerialize the configuration.
get_config()Serialize the configuration.