// // MLMultiArrayShapeConstraint.h // CoreML // // Copyright © 2018 Apple Inc. All rights reserved. #import #import #import NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0)) ML_EXPORT @interface MLMultiArrayShapeConstraint : NSObject @property (readonly, nonatomic) MLMultiArrayShapeConstraintType type; // Size of each dimension i must fall within sizeRangeForDimension[i].rangeValue @property (readonly, nonatomic) NSArray * sizeRangeForDimension; // If type == MLMultiArrayShapeConstraintTypeEnumerated then // only shapes in this set are allowed @property (readonly, nonatomic) NSArray *> * enumeratedShapes; @end NS_ASSUME_NONNULL_END