Package org.jetbrains.kotlinx.dl.dataset.preprocessor

Types

Sharpen
Link copied to clipboard
class Sharpen(modelTypePreprocessing: ModelType<*, *>) : Preprocessor

Applies the final image preprocessing that is specific for each of available models trained on ImageNet according chosen modelTypePreprocessing.

Functions

sharpen
Link copied to clipboard
fun TensorPreprocessing.sharpen(sharpBlock: Sharpen.() -> Unit)

Image DSL Preprocessing extension.