diff options
author | ramelg01 <ramy.elgammal@arm.com> | 2021-09-12 23:07:47 +0100 |
---|---|---|
committer | ramy.elgammal <ramy.elgammal@arm.com> | 2021-09-16 13:33:41 +0000 |
commit | 3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8 (patch) | |
tree | 3bab18d64b773a76766844a7e34819443fd7ee8d /src/cpu/operators/CpuDirectConv2d.cpp | |
parent | 2ec6163cdbd274ec9207a7b4ee6e144f93440b4f (diff) | |
download | ComputeLibrary-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/CpuDirectConv2d.cpp')
-rw-r--r-- | src/cpu/operators/CpuDirectConv2d.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/operators/CpuDirectConv2d.cpp b/src/cpu/operators/CpuDirectConv2d.cpp index ec52dbf153..9cdbdb61c1 100644 --- a/src/cpu/operators/CpuDirectConv2d.cpp +++ b/src/cpu/operators/CpuDirectConv2d.cpp @@ -27,6 +27,7 @@ #include "arm_compute/core/Utils.h" #include "arm_compute/core/Validate.h" #include "arm_compute/runtime/NEON/NEScheduler.h" +#include "src/common/utils/Log.h" namespace arm_compute { @@ -43,6 +44,8 @@ CpuDirectConv2d::CpuDirectConv2d(std::shared_ptr<IMemoryManager> memory_manager) void CpuDirectConv2d::configure(ITensorInfo *src, ITensorInfo *weights, const ITensorInfo *bias, ITensorInfo *dst, const PadStrideInfo &conv_info, const ActivationLayerInfo &act_info) { ARM_COMPUTE_ERROR_ON(src->data_layout() == DataLayout::UNKNOWN); + ARM_COMPUTE_LOG_PARAMS(src, weights, bias, dst, conv_info, act_info); + _output_stage_kernel = std::make_unique<kernels::CpuDirectConv2dOutputStageKernel>(); _conv_kernel = std::make_unique<kernels::CpuDirectConv2dKernel>(); _input_border_handler = std::make_unique<NEFillBorderKernel>(); |