class ModelShape
ModelShape Defines the shape of an ML model. This can be used to define the input and output shape of an ML model.
height - : Int The number of pixels associated with the height of the input image, defaults to 256.
width - : Int The number of pixels associated with the width of the input image, defaults to 144.
modelRangeMin - : Int The minimum value associated with the model output, defaults to 0.
modelRangeMax - : Int The maximum value associated with the model output, defaults to 1.
channels - : Int The number of channels associated with the pixels, defaults to 4 (RGBA).
<init> |
ModelShape Defines the shape of an ML model. This can be used to define the input and output shape of an ML model. ModelShape(height: Int = 256, width: Int = 144, modelRangeMin: Int = 0, modelRangeMax: Int = 1, channels: Int = 4) |
channels |
: Int The number of channels associated with the pixels, defaults to 4 (RGBA). var channels: Int |
height |
: Int The number of pixels associated with the height of the input image, defaults to 256. var height: Int |
modelRangeMax |
: Int The maximum value associated with the model output, defaults to 1. var modelRangeMax: Int |
modelRangeMin |
: Int The minimum value associated with the model output, defaults to 0. var modelRangeMin: Int |
width |
: Int The number of pixels associated with the width of the input image, defaults to 144. var width: Int |