Skip to content
heliaEDGE
Reference
HELIA

rescaling

This module provides classes to build rescaling layers.

Classes

Name Description
Rescaling1D Rescaling 1D
Rescaling2D Rescaling 2D

Machine-readable model

class

Rescale the input samples.

helia_edge/layers/preprocessing/rescaling.py:18

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 of Rescaling1D
NameTypeDefaultDescription
scalefloatRequiredThe scaling factor.
class

Rescale the input samples.

helia_edge/layers/preprocessing/rescaling.py:44

Rescaling2D(scale: float, **kwargs={})

Rescale the input samples.

Base class: BaseAugmentation2D.

Inherited from BaseAugmentation: augment_masks(), augment_sample(), augment_targets(), batch_augment(), call(), get_random_transformations().

Parameters of Rescaling2D
NameTypeDefaultDescription
scalefloatRequiredThe scaling factor.