Home
last modified time | relevance | path

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

/external/gemmlowp/meta/
Dtransform_kernels_arm_32.h1796 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
1877 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
1958 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2041 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2122 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2210 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2297 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2386 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2472 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2566 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
[all …]
Dtransform_kernels_arm_64.h1763 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
1842 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
1921 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2002 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2081 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2167 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2253 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2341 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2425 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
2517 [range_scale] "r"(params.range_scale), [range_min] "r"(params.range_min) in Transform()
[all …]
Dtest_transform_correctness.cc101 expected *= params.kernel.range_scale; in verify_quantize()
119 expected *= params.kernel.range_scale; in verify_dequantize()
208 quantize_params.kernel.range_scale = in main()
226 dequantize_params.kernel.range_scale = in main()
Dtest_transform_benchmark.cc129 dequantize_params.kernel.range_scale = in main()
143 quantize_params.kernel.range_scale = in main()
Dtransform_kernels.h26 float range_scale; member
33 float range_scale; member
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils.h55 const double range_scale = (number_of_steps / range); in FloatToQuantizedUnclamped() local
57 (round(input * range_scale) - round(range_min * range_scale)); in FloatToQuantizedUnclamped()
97 const double range_scale = (range / number_of_steps); in QuantizedToFloat() local
105 round(range_min / static_cast<float>(range_scale)) * in QuantizedToFloat()
106 static_cast<float>(range_scale); in QuantizedToFloat()
107 const double result = range_min_rounded + (offset_input * range_scale); in QuantizedToFloat()
142 ((q2f.range_min_rounded - q2f.lowest_quantized() * q2f.range_scale) + \
143 input_array.template cast<float>() * q2f.range_scale)
150 ((input_array * f2q.range_scale).round() - \
170 range_scale((range_max - range_min) / (number_of_steps - 1.0)), in QuantizedToFloatStruct()
[all …]
Dmeta_support.cc305 params.kernel.range_scale = in Dequantize()
329 params.kernel.range_scale = in Quantize()
/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py94 range_scale = (quantized_range / number_of_steps)
97 ((float(x) - lowest_quantized) * range_scale))
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QuantizeV2.pbtxt67 range_scale = num_discrete_values / range
68 quantized = round(input * range_scale) - round(range_min * range_scale) +
Dapi_def_Dequantize.pbtxt45 range_scale = range / num_discrete_values
47 result = range_min + ((input - numeric_limits<T>::min()) * range_scale)
/external/gemmlowp/meta/generators/
Dtransform_kernels_common.py99 self.range_scale = _DuplicateGeneralRegister(
137 emitter.EmitVMul('f32', register, register, self.range_scale)
168 self.range_scale = _DuplicateGeneralRegister(
186 emitter.EmitVMul('f32', register, register, self.range_scale)