Searched refs:range_scale (Results 1 – 11 of 11) sorted by relevance
/external/gemmlowp/meta/ |
D | transform_kernels_arm_32.h | 1796 [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 …]
|
D | transform_kernels_arm_64.h | 1763 [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 …]
|
D | test_transform_correctness.cc | 101 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()
|
D | test_transform_benchmark.cc | 129 dequantize_params.kernel.range_scale = in main() 143 quantize_params.kernel.range_scale = in main()
|
D | transform_kernels.h | 26 float range_scale; member 33 float range_scale; member
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantization_utils.h | 55 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 …]
|
D | meta_support.cc | 305 params.kernel.range_scale = in Dequantize() 329 params.kernel.range_scale = in Quantize()
|
/external/tensorflow/tensorflow/python/ops/ |
D | quantized_conv_ops_test.py | 94 range_scale = (quantized_range / number_of_steps) 97 ((float(x) - lowest_quantized) * range_scale))
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_QuantizeV2.pbtxt | 67 range_scale = num_discrete_values / range 68 quantized = round(input * range_scale) - round(range_min * range_scale) +
|
D | api_def_Dequantize.pbtxt | 45 range_scale = range / num_discrete_values 47 result = range_min + ((input - numeric_limits<T>::min()) * range_scale)
|
/external/gemmlowp/meta/generators/ |
D | transform_kernels_common.py | 99 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)
|