Rescaling
This preprocessor defines the Rescaling operation. It scales each pixel pixel_i = pixel_i / scalingCoefficient.
Constructors
Functions
apply
Link copied to clipboard
open override fun apply(data: FloatArray, inputShape: ImageShape): FloatArray
Content copied to clipboard
Transforms data with inputShape to the new data with the same shape.
Properties
scalingCoefficient
Link copied to clipboard