The lists of shapes or ranges of shapes that constrain a multiarray feature.


class MLMultiArrayShapeConstraint : NSObject


Accessing the Constraints

var enumeratedShapes: [[NSNumber]]

Array of allowed shapes for a multiarray feature.

var sizeRangeForDimension: [NSValue]

The allowable range for a dimention of the multiarray.

var type: MLMultiArrayShapeConstraintType

The type of the shape constraint.

enum MLMultiArrayShapeConstraintType

The possible types of shape constraints.


Inherits From

See Also

Accessing the Constraints

var shape: [NSNumber]

The shape of the multi array.

var dataType: MLMultiArrayDataType

The type for the multi array.

var shapeConstraint: MLMultiArrayShapeConstraint

The constraint on the shape of the multiarray.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software