Enumeration

MLImageSizeConstraintType

The modes that determine how the model defines a feature's image size constraint.

Declaration

enum MLImageSizeConstraintType : Int

Topics

Enumeration Cases

case range

The image feature accepts image sizes defined by a range of widths and a range of heights.

case enumerated

The image feature accepts image sizes listed in an array.

case unspecified

The image size constraint is not configured and should be ignored.

See Also

Determining Relevant Constraints

var type: MLImageSizeConstraintType

Indicator of which properties to inspect for this image size constraint.