Home
last modified time | relevance | path

Searched refs:lowest_quantized (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantized_add_op.cc80 const int64 lowest_quantized = in ScalarAddition() local
107 std::max(full_input_in_output_range_64, lowest_quantized); in ScalarAddition()
137 const int64 lowest_quantized = in ScalarAddition() local
147 std::max(full_input_in_output_range_64, lowest_quantized); in ScalarAddition()
195 const int64 lowest_quantized = in VectorAddition() local
227 x_in_output_range_64 = std::max(x_in_output_range_64, lowest_quantized); in VectorAddition()
233 y_in_output_range_64 = std::max(y_in_output_range_64, lowest_quantized); in VectorAddition()
264 const int64 lowest_quantized = in VectorAddition() local
272 x_in_output_range_64 = std::max(x_in_output_range_64, lowest_quantized); in VectorAddition()
278 y_in_output_range_64 = std::max(y_in_output_range_64, lowest_quantized); in VectorAddition()
[all …]
Dquantization_utils.h46 const int64 lowest_quantized = in FloatToQuantizedUnclamped() local
49 return lowest_quantized; in FloatToQuantizedUnclamped()
58 quantized += lowest_quantized; in FloatToQuantizedUnclamped()
73 const int64 lowest_quantized = in FloatToQuantized() local
77 quantized = std::max(quantized, lowest_quantized); in FloatToQuantized()
98 const int64 lowest_quantized = in QuantizedToFloat() local
100 const double offset_input = static_cast<double>(input) - lowest_quantized; in QuantizedToFloat()
142 ((q2f.range_min_rounded - q2f.lowest_quantized() * q2f.range_scale) + \
151 (f2q.range_min_scaled - f2q.lowest_quantized())) \
164 static float lowest_quantized() { in lowest_quantized() function
[all …]
/external/tensorflow/tensorflow/python/ops/
Dquantized_conv_ops_test.py95 lowest_quantized = -(1 << (number_of_bits - 1))
97 ((float(x) - lowest_quantized) * range_scale))
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Dequantize.pbtxt46 const double offset_input = static_cast<double>(input) - lowest_quantized;