aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLQuantizationLayer.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/CLQuantizationLayer.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/CLQuantizationLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLQuantizationLayer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/runtime/CL/functions/CLQuantizationLayer.cpp b/src/runtime/CL/functions/CLQuantizationLayer.cpp
index 1f6ddb6014..e6451b2eb4 100644
--- a/src/runtime/CL/functions/CLQuantizationLayer.cpp
+++ b/src/runtime/CL/functions/CLQuantizationLayer.cpp
@@ -26,15 +26,15 @@
#include "arm_compute/core/CL/CLKernelLibrary.h"
#include "arm_compute/core/CL/ICLTensor.h"
#include "src/core/CL/ICLKernel.h"
-#include "src/runtime/gpu/cl/operators/ClQuantization.h"
+#include "src/runtime/gpu/cl/operators/ClQuantize.h"
namespace arm_compute
{
struct CLQuantizationLayer::Impl
{
- const ICLTensor *src{ nullptr };
- ICLTensor *dst{ nullptr };
- std::unique_ptr<opencl::ClQuantization> op{ nullptr };
+ const ICLTensor *src{ nullptr };
+ ICLTensor *dst{ nullptr };
+ std::unique_ptr<opencl::ClQuantize> op{ nullptr };
};
CLQuantizationLayer::CLQuantizationLayer()
@@ -53,13 +53,13 @@ void CLQuantizationLayer::configure(const CLCompileContext &compile_context, con
_impl->src = input;
_impl->dst = output;
- _impl->op = std::make_unique<opencl::ClQuantization>();
+ _impl->op = std::make_unique<opencl::ClQuantize>();
_impl->op->configure(compile_context, input->info(), output->info());
}
Status CLQuantizationLayer::validate(const ITensorInfo *input, const ITensorInfo *output)
{
- return opencl::ClQuantization::validate(input, output);
+ return opencl::ClQuantize::validate(input, output);
}
void CLQuantizationLayer::run()