From 50d1329e34e0fd69b30f731dd91a06ca46522442 Mon Sep 17 00:00:00 2001 From: Stephen Jia Date: Wed, 5 Mar 2025 16:17:32 -0500 Subject: [PATCH] [Portable] Easy fix of unfold_copy_out function signature --- kernels/portable/cpu/op_unfold_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernels/portable/cpu/op_unfold_copy.cpp b/kernels/portable/cpu/op_unfold_copy.cpp index 69ddb3368d7..c6f725cf6bc 100644 --- a/kernels/portable/cpu/op_unfold_copy.cpp +++ b/kernels/portable/cpu/op_unfold_copy.cpp @@ -11,7 +11,7 @@ using Tensor = executorch::aten::Tensor; // unfold_copy(Tensor self, int dimension, int size, int step, *, Tensor(a!) // out) -> Tensor(a!) -Tensor unfold_copy_out( +Tensor& unfold_copy_out( KernelRuntimeContext& ctx, const Tensor& self, int64_t dim,