amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.backgroundfilter / ModelShape / <init>

<init>

ModelShape(height: Int = 256, width: Int = 144, modelRangeMin: Int = 0, modelRangeMax: Int = 1, channels: Int = 4)

ModelShape Defines the shape of an ML model. This can be used to define the input and output shape of an ML model.

Parameters

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).