aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/operators/CpuSoftmax.cpp
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-09-12 23:07:47 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-09-16 13:33:41 +0000
commit3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8 (patch)
tree3bab18d64b773a76766844a7e34819443fd7ee8d /src/cpu/operators/CpuSoftmax.cpp
parent2ec6163cdbd274ec9207a7b4ee6e144f93440b4f (diff)
downloadComputeLibrary-3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8.tar.gz
Provide logging for configure functions in all cpu operators
Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: I02eabdd6bce8cd561ab2fdfd644a686a3762b817 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6253 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/operators/CpuSoftmax.cpp')
-rw-r--r--src/cpu/operators/CpuSoftmax.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/operators/CpuSoftmax.cpp b/src/cpu/operators/CpuSoftmax.cpp
index b70ee7e4df..bf4c2fa3a2 100644
--- a/src/cpu/operators/CpuSoftmax.cpp
+++ b/src/cpu/operators/CpuSoftmax.cpp
@@ -28,6 +28,7 @@
#include "arm_compute/core/Validate.h"
#include "arm_compute/core/utils/misc/ShapeCalculator.h"
#include "arm_compute/runtime/NEON/NEScheduler.h"
+#include "src/common/utils/Log.h"
#include "src/core/helpers/MemoryHelpers.h"
#include "src/core/helpers/SoftmaxHelpers.h"
#include "src/cpu/kernels/CpuSoftmaxKernel.h"
@@ -60,6 +61,7 @@ void CpuSoftmaxGeneric<IS_LOG>::configure(const ITensorInfo *src, ITensorInfo *d
// Perform validation step
ARM_COMPUTE_ERROR_ON_NULLPTR(src, dst);
ARM_COMPUTE_ERROR_THROW_ON(CpuSoftmaxGeneric::validate(src, dst, beta, axis));
+ ARM_COMPUTE_LOG_PARAMS(src, dst, beta, axis);
const unsigned int actual_axis = static_cast<unsigned int>(wrap_around(axis, static_cast<int32_t>(src->num_dimensions())));