MLImageSizeConstraintMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

MLImageSizeConstraintMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreML MBS Mac64bit Plugin 20.0 ✅ Yes ❌ No ❌ No ✅ Yes All
A list or range of sizes that augment an image constraint's default size.

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:

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Types

Constant Value Description
TypeEnumerated 2 The image feature accepts image sizes listed in an array.
TypeRange 3 The image feature accepts image sizes defined by a range of widths and a range of heights.
TypeUnspecified 0 The image size constraint is not configured and should be ignored.

This class has no sub classes.

Some properties using for this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Mac64bit Plugin.


MLImageConstraintMBS   -   MLImageSizeMBS


💬 Ask a question or report a problem