TORCH

This preprocessing will scale pixels between 0 and 1, then will normalize each channel with respect to the ImageNet dataset.

Functions

preprocessing
Link copied to clipboard
common
open override fun preprocessing(channelsLast: Boolean): <ERROR CLASS><<ERROR CLASS><FloatArray, <ERROR CLASS>>, <ERROR CLASS><FloatArray, <ERROR CLASS>>>

Returns preprocessing Operation corresponding to this preprocessing type.

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int