Skip to content

Commit db5f474

Browse files
SS-JIAZonglin Peng
authored and
Zonglin Peng
committed
[Portable] Easy fix of unfold_copy_out function signature (#8975)
1 parent 76dcda3 commit db5f474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernels/portable/cpu/op_unfold_copy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using Tensor = executorch::aten::Tensor;
1111

1212
// unfold_copy(Tensor self, int dimension, int size, int step, *, Tensor(a!)
1313
// out) -> Tensor(a!)
14-
Tensor unfold_copy_out(
14+
Tensor& unfold_copy_out(
1515
KernelRuntimeContext& ctx,
1616
const Tensor& self,
1717
int64_t dim,

0 commit comments

Comments
 (0)