MultiArrayConstraintMessage class
Mirrors MLMultiArrayConstraint and its MLMultiArrayShapeConstraint.
Constructors
-
MultiArrayConstraintMessage({required MultiArrayDataTypeMessage dataType, required List<
int> shape, required ShapeConstraintTypeMessage shapeConstraintType, required List<ShapeMessage> enumeratedShapes, required List<int> minimumSizes, required List<int> maximumSizes})
Properties
- dataType ↔ MultiArrayDataTypeMessage
-
getter/setter pair
-
enumeratedShapes
↔ List<
ShapeMessage> -
Non-empty for ShapeConstraintTypeMessage.enumerated.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
maximumSizes
↔ List<
int> -
Per-dimension upper bounds;
-1means unbounded.getter/setter pair -
minimumSizes
↔ List<
int> -
Per-dimension lower bounds for ShapeConstraintTypeMessage.range.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shape
↔ List<
int> -
getter/setter pair
- shapeConstraintType ↔ ShapeConstraintTypeMessage
-
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → MultiArrayConstraintMessage