aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLDequantizationLayer.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2021-04-30 14:46:05 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-05-05 17:39:26 +0000
commitef516e8bb8eb7f55b410268587f3b88b77e2fd8e (patch)
treed2043bf6bae9c51ab0344a4e13f1c54205e28c3c /src/runtime/CL/functions/CLDequantizationLayer.cpp
parent448cb45e2cb86f32a739c925a1ac8c688cf573bf (diff)
downloadComputeLibrary-ef516e8bb8eb7f55b410268587f3b88b77e2fd8e.tar.gz
Rename Quantization/Dequantization kernels/operators to imperative mood
Renames the following kernels/functions - [Cl|Cpu]DequantizationKernel -> [Cl|Cpu]DequantizeKernel - [Cl|Cpu]Dequantization -> [Cl|Cpu]CpuDequantize - [Cl|Cpu]QuantizationKernel -> [Cl|Cpu]QuantizeKernel - [Cl|Cpu]Quantization -> [Cl|Cpu]Quantize Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: Ic3c5eb3b7fe28f807294d159830eef99c2dd6219 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5566 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLDequantizationLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLDequantizationLayer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/runtime/CL/functions/CLDequantizationLayer.cpp b/src/runtime/CL/functions/CLDequantizationLayer.cpp
index e0381f90ae..3b104017e7 100644
--- a/src/runtime/CL/functions/CLDequantizationLayer.cpp
+++ b/src/runtime/CL/functions/CLDequantizationLayer.cpp
@@ -27,15 +27,15 @@
#include "arm_compute/core/CL/ICLTensor.h"
#include "arm_compute/core/KernelDescriptors.h"
#include "src/core/CL/ICLKernel.h"
-#include "src/runtime/gpu/cl/operators/ClDequantization.h"
+#include "src/runtime/gpu/cl/operators/ClDequantize.h"
namespace arm_compute
{
struct CLDequantizationLayer::Impl
{
- const ICLTensor *src{ nullptr };
- ICLTensor *dst{ nullptr };
- std::unique_ptr<opencl::ClDequantization> op{ nullptr };
+ const ICLTensor *src{ nullptr };
+ ICLTensor *dst{ nullptr };
+ std::unique_ptr<opencl::ClDequantize> op{ nullptr };
};
CLDequantizationLayer::CLDequantizationLayer()
@@ -54,13 +54,13 @@ void CLDequantizationLayer::configure(const CLCompileContext &compile_context, c
_impl->src = input;
_impl->dst = output;
- _impl->op = std::make_unique<opencl::ClDequantization>();
+ _impl->op = std::make_unique<opencl::ClDequantize>();
_impl->op->configure(compile_context, input->info(), output->info());
}
Status CLDequantizationLayer::validate(const ITensorInfo *input, const ITensorInfo *output)
{
- return opencl::ClDequantization::validate(input, output);
+ return opencl::ClDequantize::validate(input, output);
}
void CLDequantizationLayer::run()