aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEFuseBatchNormalization.cpp
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-09-17 17:36:57 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-09-22 09:44:25 +0000
commitcbbb03813b79b7f0274b18436a78a79ff31e469e (patch)
treea80e529e419ddff1ef2f5fa72dfa37d29bf53977 /src/runtime/NEON/functions/NEFuseBatchNormalization.cpp
parent3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8 (diff)
downloadComputeLibrary-cbbb03813b79b7f0274b18436a78a79ff31e469e.tar.gz
Provide logging for configure functions in all NEON functions
Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: I655268c57fa126d9c99981c49d345a3aac75646e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6286 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com> Reviewed-by: SiCong Li <sicong.li@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions/NEFuseBatchNormalization.cpp')
-rw-r--r--src/runtime/NEON/functions/NEFuseBatchNormalization.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/NEON/functions/NEFuseBatchNormalization.cpp b/src/runtime/NEON/functions/NEFuseBatchNormalization.cpp
index a8ce6b2bfc..6612845d86 100644
--- a/src/runtime/NEON/functions/NEFuseBatchNormalization.cpp
+++ b/src/runtime/NEON/functions/NEFuseBatchNormalization.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020 Arm Limited.
+ * Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -28,6 +28,7 @@
#include "arm_compute/core/TensorInfo.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/NEON/NEScheduler.h"
+#include "src/common/utils/Log.h"
#include "src/core/NEON/kernels/NEFuseBatchNormalizationKernel.h"
namespace arm_compute
@@ -44,6 +45,9 @@ void NEFuseBatchNormalization::configure(const ITensor *input_weights, const ITe
const ITensor *input_bias, const ITensor *bn_beta, const ITensor *bn_gamma,
float epsilon, FuseBatchNormalizationType fbn_type)
{
+ ARM_COMPUTE_LOG_PARAMS(input_weights, bn_mean, bn_var, fused_weights, fused_bias, input_bias,
+ bn_beta, bn_gamma, epsilon, fbn_type);
+
_fuse_bn_kernel = std::make_unique<NEFuseBatchNormalizationKernel>();
_fuse_bn_kernel->configure(input_weights, bn_mean, bn_var, fused_weights, fused_bias, input_bias, bn_beta, bn_gamma, epsilon, fbn_type);
}