Package org.jetbrains.kotlinx.dl.dataset.preprocessor
Types
This preprocessor defines normalizing operation. Given mean and std for n channels, this operation normalizes each channel of the input array, i.e.
The data preprocessing pipeline presented as Kotlin DSL on receivers.
Basic interface for the data preprocessing.
This preprocessor defines the Rescaling operation. It scales each pixel pixel_i = pixel_i / scalingCoefficient.
Represents the tensor preprocessing stage of the Preprocessing. Consists of the operations implementing Preprocessor which are applied to the tensor one by one.
Functions
Applies Normalizing preprocessor to the tensor to normalize it with given mean and std values.
Defines preprocessing operations.
Defines preprocessing operations on the image.
Defines preprocessing operations on the tensor.