File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extension/apple/ExecuTorch/Exported Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public extension Tensor {
5454 func withUnsafeBytes< T: Scalar , R> ( _ body: ( UnsafeBufferPointer < T > ) throws -> R ) throws -> R {
5555 guard dataType == T . dataType else { throw Error ( code: . invalidArgument) }
5656 var result : Result < R , Error > ?
57- bytes { pointer, count, _ in
57+ __bytes { pointer, count, _ in
5858 result = Result { try body (
5959 UnsafeBufferPointer (
6060 start: pointer. assumingMemoryBound ( to: T . self) ,
@@ -74,7 +74,7 @@ public extension Tensor {
7474 func withUnsafeMutableBytes< T: Scalar , R> ( _ body: ( UnsafeMutableBufferPointer < T > ) throws -> R ) throws -> R {
7575 guard dataType == T . dataType else { throw Error ( code: . invalidArgument) }
7676 var result : Result < R , Error > ?
77- mutableBytes { pointer, count, _ in
77+ __mutableBytes { pointer, count, _ in
7878 result = Result { try body (
7979 UnsafeMutableBufferPointer (
8080 start: pointer. assumingMemoryBound ( to: T . self) ,
You can’t perform that action at this time.
0 commit comments