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

# ModelShape

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

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

### Constructors

#### <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)`

### Properties

#### 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`