Skip to content

🧪 ModelImageSize

A container for image size in neural networks.

Inheritors:

Stub code in ModelImageSize.sdsstub

@Experimental
class ModelImageSize {
    /**
     * Get the width of this `ImageSize` in pixels.
     */
    attr width: Int
    /**
     * Get the height of this `ImageSize` in pixels.
     */
    attr height: Int
    /**
     * Get the channel of this `ImageSize` in pixels.
     */
    attr channel: Int
}

channel

Get the channel of this ImageSize in pixels.

Type: Int

height

Get the height of this ImageSize in pixels.

Type: Int

width

Get the width of this ImageSize in pixels.

Type: Int