diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-10-12 17:34:20 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 7d3d1b923b7793f1cf5e29c78bfda2582522cf25 (patch) | |
tree | 7a924958ee7f4c9b7e6245170513862dcc016b87 /src/graph/nodes/ActivationLayer.cpp | |
parent | 3756186e54d77639564e999082f4bbd1ceec5a2f (diff) | |
download | ComputeLibrary-7d3d1b923b7793f1cf5e29c78bfda2582522cf25.tar.gz |
COMPMID-619: Logging interface
Change-Id: I73d1433ee7a682aeabb7540aa2ea1f6564f90aae
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91775
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/graph/nodes/ActivationLayer.cpp')
-rw-r--r-- | src/graph/nodes/ActivationLayer.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/graph/nodes/ActivationLayer.cpp b/src/graph/nodes/ActivationLayer.cpp index 5e75c28bc7..df73ba7078 100644 --- a/src/graph/nodes/ActivationLayer.cpp +++ b/src/graph/nodes/ActivationLayer.cpp @@ -23,7 +23,6 @@ */ #include "arm_compute/graph/nodes/ActivationLayer.h" -#include "arm_compute/core/Logger.h" #include "arm_compute/runtime/CL/CLTensor.h" #include "arm_compute/runtime/CL/functions/CLActivationLayer.h" #include "arm_compute/runtime/NEON/functions/NEActivationLayer.h" @@ -82,18 +81,20 @@ std::unique_ptr<arm_compute::IFunction> ActivationLayer::instantiate_node(GraphC if(_target_hint == TargetHint::OPENCL) { func = instantiate<TargetHint::OPENCL>(in, out, _activation_info); + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiating CLActivationLayer"); } else { func = instantiate<TargetHint::NEON>(in, out, _activation_info); + ARM_COMPUTE_LOG_GRAPH_INFO("Instantiating NEActivationLayer"); } - ARM_COMPUTE_LOG(" Data Type: " << in->info()->data_type() - << " Input shape: " << in->info()->tensor_shape() - << " Output shape: " << out->info()->tensor_shape() - << " Activation function: " << _activation_info.activation() - << " a: " << _activation_info.a() - << " b: " << _activation_info.b() - << std::endl); + ARM_COMPUTE_LOG_GRAPH_INFO(" Data Type: " << in->info()->data_type() + << " Input shape: " << in->info()->tensor_shape() + << " Output shape: " << out->info()->tensor_shape() + << " Activation function: " << _activation_info.activation() + << " a: " << _activation_info.a() + << " b: " << _activation_info.b() + << std::endl); return func; } |