Skip to content

Commit 6005c07

Browse files
authored
Update ExecuTorchTensor.h
1 parent 0aafb9a commit 6005c07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/apple/ExecuTorch/Exported/ExecuTorchTensor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ __attribute__((deprecated("This API is experimental.")))
176176
* - and the data type.
177177
*/
178178
- (void)bytesWithHandler:(NS_NOESCAPE void (^)(const void *pointer, NSInteger count, ExecuTorchDataType dataType))handler
179-
NS_SWIFT_NAME(bytes(_:));
179+
NS_REFINED_FOR_SWIFT;
180180

181181
/**
182182
* Executes a block with a pointer to the tensor's mutable byte data.
@@ -187,7 +187,7 @@ __attribute__((deprecated("This API is experimental.")))
187187
* - and the data type.
188188
*/
189189
- (void)mutableBytesWithHandler:(NS_NOESCAPE void (^)(void *pointer, NSInteger count, ExecuTorchDataType dataType))handler
190-
NS_SWIFT_NAME(mutableBytes(_:));
190+
NS_REFINED_FOR_SWIFT;
191191

192192
/**
193193
* Resizes the tensor to a new shape.

0 commit comments

Comments
 (0)