aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
diff options
context:
space:
mode:
authorSang-Hoon Park <sang-hoon.park@arm.com>2020-08-17 13:50:15 +0100
committerSang-Hoon Park <sang-hoon.park@arm.com>2020-08-18 07:55:57 +0000
commita45abfd9ac805c8452c56172583dcf0dcf41f9db (patch)
treeb4d2d647e1ffff8a5e37c9a553a431d8b721dc0d /src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
parent547b2e7aa07db4dd41f99e492c40710f2548c6ba (diff)
downloadComputeLibrary-a45abfd9ac805c8452c56172583dcf0dcf41f9db.tar.gz
COMPMID-3687: Remove deprecated functions in 20.05 release
Change-Id: I90e09e460b5d5d4f9ead8e3905833c5da3b9fbd6 Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3762 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp')
-rw-r--r--src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp80
1 files changed, 1 insertions, 79 deletions
diff --git a/src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp b/src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
index d27b764a3d..a499e1858d 100644
--- a/src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
+++ b/src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp
@@ -33,45 +33,6 @@
namespace arm_compute
{
-void CLGEMMLowpQuantizeDownInt32ToUint8Scale::configure(const ICLTensor *input, const ICLTensor *bias, ICLTensor *output, int result_offset, int result_mult_int, int result_shift, int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_offset = result_offset;
- info.gemmlowp_multiplier = result_mult_int;
- info.gemmlowp_shift = result_shift;
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
-
- auto k = arm_compute::support::cpp14::make_unique<CLGEMMLowpQuantizeDownInt32ScaleKernel>();
- k->configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, &info);
- _kernel = std::move(k);
-}
-
-void CLGEMMLowpQuantizeDownInt32ToUint8Scale::configure(const CLCompileContext &compile_context, const ICLTensor *input, const ICLTensor *bias, ICLTensor *output, int result_offset,
- int result_mult_int,
- int result_shift, int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_offset = result_offset;
- info.gemmlowp_multiplier = result_mult_int;
- info.gemmlowp_shift = result_shift;
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
-
- auto k = arm_compute::support::cpp14::make_unique<CLGEMMLowpQuantizeDownInt32ScaleKernel>();
- k->configure(compile_context, input, bias, output, &info);
- _kernel = std::move(k);
-}
-
-Status CLGEMMLowpQuantizeDownInt32ToUint8Scale::validate(const ITensorInfo *input, const ITensorInfo *bias, const ITensorInfo *output, int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
-
- return CLGEMMLowpQuantizeDownInt32ScaleKernel::validate(input, bias, output, &info);
-}
-
void CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPoint::configure(const ICLTensor *input, const ICLTensor *bias, ICLTensor *output,
int result_fixedpoint_multiplier, int result_shift, int result_offset_after_shift,
int min, int max)
@@ -118,45 +79,6 @@ Status CLGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPoint::validate(const ITenso
return CLGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::validate(input, bias, output, min, max);
}
-void CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFloat::configure(const ICLTensor *input, const ICLTensor *bias, ICLTensor *output,
- float multiplier, int offset,
- int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_offset = offset;
- info.gemmlowp_real_multiplier = multiplier;
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
-
- auto k = arm_compute::support::cpp14::make_unique<CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel>();
- k->configure(CLKernelLibrary::get().get_compile_context(), input, bias, output, &info);
- _kernel = std::move(k);
-}
-
-void CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFloat::configure(const CLCompileContext &compile_context, const ICLTensor *input, const ICLTensor *bias, ICLTensor *output,
- float multiplier, int offset,
- int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_offset = offset;
- info.gemmlowp_real_multiplier = multiplier;
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
-
- auto k = arm_compute::support::cpp14::make_unique<CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel>();
- k->configure(compile_context, input, bias, output, &info);
- _kernel = std::move(k);
-}
-
-Status CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFloat::validate(const ITensorInfo *input, const ITensorInfo *bias, const ITensorInfo *output,
- int min, int max)
-{
- GEMMLowpOutputStageInfo info = GEMMLowpOutputStageInfo();
- info.gemmlowp_min_bound = min;
- info.gemmlowp_max_bound = max;
- return CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::validate(input, bias, output, &info);
-}
-
void CLGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPoint::configure(const ICLTensor *input, const ICLTensor *bias, ICLTensor *output,
int result_fixedpoint_multiplier, int result_shift,
int min, int max)
@@ -268,4 +190,4 @@ Status CLGEMMLowpOutputStage::validate(const ITensorInfo *input, const ITensorIn
return ARM_COMPUTE_CREATE_ERROR(ErrorCode::RUNTIME_ERROR, "Unsupported GEMMLowpOutputStage type.");
}
}
-} // namespace arm_compute \ No newline at end of file
+} // namespace arm_compute