diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2022-06-29 15:13:45 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2022-06-30 14:56:06 +0000 |
commit | 16aa4743fe03ec7f9bbca22951fb73d832804e65 (patch) | |
tree | 49255b04d3177e5d6f3e9a4d696427d54bee8eb2 /src/cpu | |
parent | ddf2f6c343ba668d68897ecaf6237702a54d948b (diff) | |
download | ComputeLibrary-16aa4743fe03ec7f9bbca22951fb73d832804e65.tar.gz |
Wrong arguments for running activation function in CpuGemmDirectConv2d
Resolves: COMPMID-5350
Change-Id: I2f5021ebe9fe4c71371f2cd6cb65cc9c0b2110b5
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7861
Reviewed-by: Francesco Petrogalli <francesco.petrogalli@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/operators/CpuGemmDirectConv2d.cpp | 6 |
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); } } |