Skip to content

🧪 VariableImageSize

A container for variable image size in neural networks.

With a VariableImageSize, all image sizes that are a multiple of width and height are valid.

Parent type: ModelImageSize

Stub code in VariableImageSize.sdsstub

@Experimental
class VariableImageSize sub ModelImageSize

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