Contents

MLImageSizeConstraint

A list or range of sizes that augment an image constraint’s default size.

Declaration

class MLImageSizeConstraint

Overview

You use an MLImageSizeConstraint to express what image sizes of an image feature a model will accept as input or produce as output.

Use type to determine which properties describe what image sizes the model’s image feature expects as input or produces as output.

If type is:

[Image]

Topics

Determining relevant constraints

Accessing the image size ranges

Accessing the enumerated image sizes

Initializers

See Also

Inspecting acceptable sizes