Home
last modified time | relevance | path

Searched refs:quantize_qasymm8 (Results 1 – 25 of 40) sorted by relevance

12

/external/ComputeLibrary/src/cpu/kernels/activation/generic/neon/
Dqasymm8.cpp55 const qasymm8x16_t va = vdupq_n_u8(quantize_qasymm8(act_info.a(), qi_in)); in neon_qasymm8_activation()
56 const qasymm8x16_t vb = vdupq_n_u8(quantize_qasymm8(act_info.b(), qi_in)); in neon_qasymm8_activation()
57 const qasymm8_t a = quantize_qasymm8(act_info.a(), qi_in); in neon_qasymm8_activation()
58 const qasymm8_t b = quantize_qasymm8(act_info.b(), qi_in); in neon_qasymm8_activation()
59 const qasymm8_t const_0 = quantize_qasymm8(0.f, qi_in); in neon_qasymm8_activation()
250 tmp = quantize_qasymm8(tmp_f, qi_out); in neon_qasymm8_activation()
257 tmp = quantize_qasymm8(tmp_f, qi_out); in neon_qasymm8_activation()
264 tmp = quantize_qasymm8(tmp_f, qi_out); in neon_qasymm8_activation()
270 tmp = quantize_qasymm8(tmp_f, qi_out); in neon_qasymm8_activation()
276 tmp = quantize_qasymm8(tmp_f, qi_out); in neon_qasymm8_activation()
/external/ComputeLibrary/src/cpu/kernels/addmuladd/generic/neon/
Dqasymm8.cpp743 minval = quantize_qasymm8(0.f, final_output_qinfo); in add_mul_add_u8_neon()
747 minval = quantize_qasymm8(0.f, final_output_qinfo); in add_mul_add_u8_neon()
748 maxval = quantize_qasymm8(act_info.a(), final_output_qinfo); in add_mul_add_u8_neon()
752 minval = quantize_qasymm8(act_info.b(), final_output_qinfo); in add_mul_add_u8_neon()
753 maxval = quantize_qasymm8(act_info.a(), final_output_qinfo); in add_mul_add_u8_neon()
/external/ComputeLibrary/arm_compute/core/
DQuantizationInfo.h303 inline uint8_t quantize_qasymm8(float value, const INFO_TYPE &qinfo, RoundingPolicy rounding_policy…
408 const qasymm8_t tmp = quantize_qasymm8(tmp_f, qi_out); in qasymm8_hard_swish()
429 const qasymm8_t tmp = quantize_qasymm8(tmp_f, qi_out); in qasymm8_leaky_relu()
439 const qasymm8_t tmp = quantize_qasymm8(tmp_f, qi_out); in qasymm8_logistic()
DPixelValue.h63 value.u8 = quantize_qasymm8(static_cast<float>(v), qinfo); in PixelValue()
/external/ComputeLibrary/tests/validation/reference/
DDepthConcatenateLayer.cpp78 return quantize_qasymm8(dequantize_qasymm8(0, iq_info), oq_info); in depthconcatenate_layer()
117 return quantize_qasymm8(dequantized_input, oq_info); in depthconcatenate_layer()
DQuantizationLayer.cpp58 dst[i] = quantize_qasymm8((src[i]), qinfo, rounding_policy); in quantization_layer()
DConcatenateLayer.cpp83 return quantize_qasymm8(dequantized_input, oq_info); in widthconcatenate_layer()
/external/ComputeLibrary/src/cpu/kernels/activation/generic/sve2/
Dqasymm8.cpp53 … const auto va = svdup_n_u8(quantize_qasymm8(act_info.a(), qi_in)); in sve2_qasymm8_activation()
54 … const auto vb = svdup_n_u8(quantize_qasymm8(act_info.b(), qi_in)); in sve2_qasymm8_activation()
55 const auto const_0 = quantize_qasymm8(0.f, qi_in); in sve2_qasymm8_activation()
/external/ComputeLibrary/tests/validation/
DHelpers.cpp93 dst[i] = quantize_qasymm8(src[i], qinfo); in convert_to_asymmetric()
305 const int min_bound = quantize_qasymm8(min, quant_info.uniform()); in get_quantized_bounds()
306 const int max_bound = quantize_qasymm8(max, quant_info.uniform()); in get_quantized_bounds()
/external/ComputeLibrary/src/gpu/cl/kernels/
DClActivationKernel.cpp150 a_const_int = quantize_qasymm8(a_const, iq_info); in configure()
151 b_const_int = quantize_qasymm8(b_const, iq_info); in configure()
/external/ComputeLibrary/tests/validate_examples/
Dgraph_validate_utils.h457 uint8_t qasymm8_low = quantize_qasymm8(low, qinfo); in fill_tensor()
458 uint8_t qasymm8_high = quantize_qasymm8(high, qinfo); in fill_tensor()
465 tensor[i] = quantize_qasymm8(distribution(gen), qinfo); in fill_tensor()
/external/ComputeLibrary/src/core/helpers/
DScaleHelpers.h71 return static_cast<uint8_t>(quantize_qasymm8(res, oq_info)); in delta_bilinear_c1_quantized()
DPoolingHelpers.h86 return quantize_qasymm8(val, info); in quantize()
/external/ComputeLibrary/src/cpu/kernels/
DCpuConcatenateWidthKernel.cpp123 …*(dst_ptr + dst_it.offset() + x) = quantize_qasymm8(dequantize_qasymm8(*(src_it.ptr() + x), src_qi… in run_op()
DCpuConcatenateHeightKernel.cpp124 …*(dst_ptr + dst_it.offset() + x) = quantize_qasymm8(dequantize_qasymm8(*(src_it.ptr() + x), src_qi… in run_op()
DCpuConcatenateDepthKernel.cpp87 … *(out_ptr + x) = quantize_qasymm8(dequantize_qasymm8(*(in_ptr + x), src_qinfo), dst_qinfo); in depth_concat()
DCpuConcatenateBatchKernel.cpp85 … *(out_ptr + x) = quantize_qasymm8(dequantize_qasymm8(*(in_ptr + x), src_qinfo), dst_qinfo); in batch_concat()
/external/ComputeLibrary/tests/validation/fixtures/
DNormalizePlanarYUVLayerFixture.h76 …std::uniform_int_distribution<> distribution_std(quantize_qasymm8(0.1f, quant_info.uniform()), bou… in fill()
DBoundingBoxTransformFixture.h129 data_ptr[i] = quantize_qasymm8(values[i], tensor.quantization_info()); in fill()
/external/ComputeLibrary/src/cpu/kernels/scale/neon/
Dqasymm8.cpp293 *(out_ptr_xo_yo + cout * sizeof(uint8_t)) = quantize_qasymm8(out, oq_info); in qasymm8_neon_scale_bilinear()
295 …*(out_ptr_xo_yo + cout * sizeof(uint8_t)) = quantize_qasymm8(out, oq_info, RoundingPolicy::TO_ZERO… in qasymm8_neon_scale_bilinear()
/external/ComputeLibrary/examples/
Dneon_gemm_qasymm8.cpp90 output[i] = quantize_qasymm8(input[i], qinfo); in quantize_values()
/external/ComputeLibrary/src/core/NEON/kernels/
DNEROIPoolingLayerKernel.cpp100 …t<T *>(output->ptr_to_element(Coordinates(px, py, fm, roi_indx))) = quantize_qasymm8(curr_max, uqi… in template_eval()
/external/ComputeLibrary/src/runtime/CPP/functions/
DCPPBoxWithNonMaximaSuppressionLimit.cpp88 …*reinterpret_cast<uint8_t *>(output_it.ptr()) = quantize_qasymm8(*reinterpret_cast<const float *>(… in quantize_tensor()
/external/ComputeLibrary/src/core/
DUtils.cpp563 … = is_qasymm8_signed ? quantize_qasymm8_signed(a, oq_info) : quantize_qasymm8(a, oq_info); in get_quantized_activation_min_max()
564 … = is_qasymm8_signed ? quantize_qasymm8_signed(b, oq_info) : quantize_qasymm8(b, oq_info); in get_quantized_activation_min_max()
/external/ComputeLibrary/src/cpu/kernels/roialign/generic/neon/
Dimpl.cpp201 res = quantize_qasymm8(avg, out_qinfo); in roi_align_1x1_qasymm8()

12