From a45abfd9ac805c8452c56172583dcf0dcf41f9db Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Mon, 17 Aug 2020 13:50:15 +0100 Subject: COMPMID-3687: Remove deprecated functions in 20.05 release Change-Id: I90e09e460b5d5d4f9ead8e3905833c5da3b9fbd6 Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3762 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Sheri Zhang --- src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp | 80 +--------------------- 1 file changed, 1 insertion(+), 79 deletions(-) (limited to 'src/runtime/CL/functions/CLGEMMLowpOutputStage.cpp') 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(); - 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(); - 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(); - 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(); - 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 -- cgit v1.2.1