CAFFE

This preprocessing will convert the images from RGB to BGR, then will zero-center each color channel with respect to the ImageNet dataset, without scaling.

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