aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/operators/CpuGemmDirectConv2d.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/operators/CpuGemmDirectConv2d.cpp b/src/cpu/operators/CpuGemmDirectConv2d.cpp
index 75c057e455..fd1a042bb4 100644
--- a/src/cpu/operators/CpuGemmDirectConv2d.cpp
+++ b/src/cpu/operators/CpuGemmDirectConv2d.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited.
+ * Copyright (c) 2021-2022 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -193,7 +193,9 @@ void CpuGemmDirectConv2d::run(ITensorPack &tensors)
_gemm_asm_func->run(tensors);
if(_run_activation)
{
- _activation_func->run(tensors);
+ ITensor *io = tensors.get_tensor(ACL_DST);
+ ITensorPack pack{ { ACL_SRC, io }, { ACL_DST, io } };
+ _activation_func->run(pack);
}
}