// // MLCGatherLayer.h // MLCompute // // Copyright © 2020 Apple. All rights reserved. // #import #import #import #import @class MLCTensor; NS_ASSUME_NONNULL_BEGIN /*! @class MLCGatherLayer @abstract A gather layer */ MLCOMPUTE_CLASS_AVAILABLE_STARTING(macos(11.3), ios(14.5), tvos(14.5)) @interface MLCGatherLayer : MLCLayer /*! @property dimension @abstract The dimension along which to index */ @property (readonly, nonatomic) NSUInteger dimension; /*! @abstract Create a gather layer @param dimension The dimension along which to index @return A new gather layer */ + (instancetype)layerWithDimension:(NSUInteger)dimension; @end NS_ASSUME_NONNULL_END