optionalFitCenter

open fun optionalFitCenter(): T

Applies FitCenter and to all default types, FIT_CENTER to image types, and ignores unknown types.

This will override previous calls to dontTransform and previous calls to downsample.

See also