fitCenter

open fun fitCenter(): T

Applies FitCenter and to all default types, FIT_CENTER to image types, and throws an exception if asked to transform an unknown type.

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

See also