Home
last modified time | relevance | path

Searched refs:iq1_info (Results 1 – 11 of 11) sorted by relevance

/external/ComputeLibrary/src/cpu/kernels/add/generic/sve2/
Dqasymm8_signed.cpp53 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_qasymm8_signed_sve2() local
69 …const auto vscale1 = is_broadcast_input_2 ? svdup_n_f32(iq1_info.scale) : svdup_n_f32(iq2_info.sc… in add_qasymm8_signed_sve2()
70 …t auto vscale2 = is_broadcast_input_2 ? svdup_n_f32(iq2_info.scale) : svdup_n_f32(iq1_info.scale); in add_qasymm8_signed_sve2()
71 …const auto voffset1 = is_broadcast_input_2 ? svdup_n_s32(iq1_info.offset) : svdup_n_s32(iq2_info.o… in add_qasymm8_signed_sve2()
72 …auto voffset2 = is_broadcast_input_2 ? svdup_n_s32(iq2_info.offset) : svdup_n_s32(iq1_info.offset); in add_qasymm8_signed_sve2()
132 const auto vscale1 = svdup_n_f32(iq1_info.scale); in add_qasymm8_signed_sve2()
134 const auto voffset1 = svdup_n_s32(iq1_info.offset); in add_qasymm8_signed_sve2()
Dqasymm8.cpp54 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_qasymm8_sve2() local
69 …const svfloat32_t vscale1 = is_broadcast_input_2 ? svdup_n_f32(iq1_info.scale) : svdup_n_f32(iq2_… in add_qasymm8_sve2()
70 …at32_t vscale2 = is_broadcast_input_2 ? svdup_n_f32(iq2_info.scale) : svdup_n_f32(iq1_info.scale); in add_qasymm8_sve2()
71 …const svint32_t voffset1 = is_broadcast_input_2 ? svdup_n_s32(iq1_info.offset) : svdup_n_s32(iq2… in add_qasymm8_sve2()
72 …_t voffset2 = is_broadcast_input_2 ? svdup_n_s32(iq2_info.offset) : svdup_n_s32(iq1_info.offset); in add_qasymm8_sve2()
134 const auto vscale1 = svdup_n_f32(iq1_info.scale); in add_qasymm8_sve2()
136 const auto voffset1 = svdup_n_s32(iq1_info.offset); in add_qasymm8_sve2()
Dqsymm16.cpp53 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_qsymm16_sve2() local
57 const auto vscale1 = svdup_n_f32(iq1_info.scale); in add_qsymm16_sve2()
/external/ComputeLibrary/src/gpu/cl/kernels/
DClWidthConcatenate2TensorsKernel.cpp99 const UniformQuantizationInfo iq1_info = src1->quantization_info().uniform(); in configure() local
103 … build_opts.add_option("-DOFFSET_IN1=" + float_to_string_with_full_precision(iq1_info.offset)); in configure()
104 build_opts.add_option("-DSCALE_IN1=" + float_to_string_with_full_precision(iq1_info.scale)); in configure()
DClWidthConcatenate4TensorsKernel.cpp110 const UniformQuantizationInfo iq1_info = src1->quantization_info().uniform(); in configure() local
116 … build_opts.add_option("-DOFFSET_IN1=" + float_to_string_with_full_precision(iq1_info.offset)); in configure()
117 build_opts.add_option("-DSCALE_IN1=" + float_to_string_with_full_precision(iq1_info.scale)); in configure()
DClMulKernel.cpp181 const UniformQuantizationInfo iq1_info = src1->quantization_info().uniform(); in configure() local
186 "-DOFFSET_IN1=" + support::cpp11::to_string(iq1_info.offset)); in configure()
191 build_opts.add_option("-DSCALE_IN1=" + float_to_string_with_full_precision(iq1_info.scale)); in configure()
/external/ComputeLibrary/src/cpu/kernels/add/generic/neon/
Dqsymm16.cpp52 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_qsymm16_neon() local
56 const float32x4_t vscale1 = vdupq_n_f32(iq1_info.scale); in add_qsymm16_neon()
165 const float afs = static_cast<int32_t>((*(input1_ptr + x))) * iq1_info.scale; in add_qsymm16_neon()
Dimpl.cpp202 const auto iq1_info = in1_info->quantization_info().uniform(); in add_sub_q8_neon_fixedpoint() local
205 …const auto in1_scale = is_addition ? (iq1_info.scale / oq_info.scale) : (-(iq1_info.scale / oq_inf… in add_sub_q8_neon_fixedpoint()
206 … = float(oq_info.offset) - in0_scale * float(iq0_info.offset) - in1_scale * float(iq1_info.offset); in add_sub_q8_neon_fixedpoint()
399 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_sub_qasymm8_neon() local
403 const auto scale1 = iq1_info.scale / oq_info.scale; in add_sub_qasymm8_neon()
405 …const auto offset = float(oq_info.offset) - scale1 * float(iq1_info.offset) - scale2 * float(iq2_i… in add_sub_qasymm8_neon()
582 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in add_sub_qasymm8_signed_neon() local
586 const auto scale1 = iq1_info.scale / oq_info.scale; in add_sub_qasymm8_signed_neon()
588 …const auto offset = float(oq_info.offset) - scale1 * float(iq1_info.offset) - scale2 * float(iq2_i… in add_sub_qasymm8_signed_neon()
/external/ComputeLibrary/src/cpu/kernels/sub/neon/
Dqsymm16.cpp52 const UniformQuantizationInfo iq1_info = src0->info()->quantization_info().uniform(); in sub_qsymm16_neon() local
56 const float32x4_t vscale1 = vdupq_n_f32(iq1_info.scale); in sub_qsymm16_neon()
192 const float afs = static_cast<int32_t>((*(input1_ptr + x))) * iq1_info.scale; in sub_qsymm16_neon()
/external/ComputeLibrary/src/core/CL/kernels/
DCLComparisonKernel.cpp136 const UniformQuantizationInfo iq1_info = input1->info()->quantization_info().uniform(); in configure() local
139 build_opts.emplace("-DOFFSET_IN1=" + support::cpp11::to_string(iq1_info.offset)); in configure()
141 build_opts.emplace("-DSCALE_IN1=" + float_to_string_with_full_precision(iq1_info.scale)); in configure()
/external/ComputeLibrary/src/cpu/kernels/
DCpuMulKernel.cpp353 const auto iq1_info = in1_info->quantization_info().uniform(); in mul_q8_neon_fixedpoint() local
357 const auto in1_offset = iq1_info.offset; in mul_q8_neon_fixedpoint()
359 const auto multiplier = ((iq0_info.scale * iq1_info.scale) / oq_info.scale) * scale; in mul_q8_neon_fixedpoint()