Skip to content

Commit 5ac4a3c

Browse files
authored
[Portable] Easy fix of unfold_copy_out function signature (#8975)
1 parent 03efc32 commit 5ac4a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernels/portable/cpu/op_unfold_copy.cpp

+1-1
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)