TensorPreprocessing

class TensorPreprocessing

The whole tensor preprocessing pipeline DSL.

It supports operations that implement Preprocessor, for example: Rescaling preprocessor or CustomPreprocessor preprocessor.

It's a part of the org.jetbrains.kotlinx.dl.dataset.preprocessor.Preprocessing pipeline DSL.

Constructors

TensorPreprocessing
Link copied to clipboard
fun TensorPreprocessing()

Functions

addOperation
Link copied to clipboard
fun addOperation(operation: Preprocessor)

Adds an operation to the operations.

Extensions

rescale
Link copied to clipboard
fun TensorPreprocessing.rescale(block: Rescaling.() -> Unit)