Skip to content

Commit 86f83d7

Browse files
committed
Fix nullable parameter warning
1 parent 85cd0c2 commit 86f83d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

backends/apple/mps/runtime/operations/MPSGraphSequoiaOps.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
@end
4747

4848
@interface MPSGraph (MPSGraphQuantizationOps)
49-
- (MPSGraphTensor *)dequantizeTensor:(MPSGraphTensor *)tensor
50-
scaleTensor:(MPSGraphTensor *)scaleTensor
51-
zeroPointTensor:(MPSGraphTensor *)zeroPointTensor
52-
dataType:(MPSDataType)dataType
53-
name:(NSString *_Nullable)name;
49+
- (MPSGraphTensor *_Nonnull)dequantizeTensor:(MPSGraphTensor *_Nonnull)tensor
50+
scaleTensor:(MPSGraphTensor *_Nonnull)scaleTensor
51+
zeroPointTensor:(MPSGraphTensor *_Nonnull)zeroPointTensor
52+
dataType:(MPSDataType)dataType
53+
name:(NSString *_Nullable)name;
5454
@end
5555

5656
#endif

0 commit comments

Comments
 (0)