Searched refs:f2q (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | quantization_utils.h | 149 #define QUANTIZE_WITH_EIGEN(input_array, f2q, OutputType) \ argument 150 ((input_array * f2q.range_scale).round() - \ 151 (f2q.range_min_scaled - f2q.lowest_quantized())) \ 152 .cwiseMax(f2q.lower_bound_float()) \ 153 .cwiseMin(f2q.upper_bound_float()) \ 675 FloatToQuantizedStruct<T2> f2q(min_output, max_output); in RequantizeManyInNewRangeUsingEigen() 676 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T2); in RequantizeManyInNewRangeUsingEigen() 736 FloatToQuantizedStruct<T> f2q(min, max); in FloatTensorToQuantizedInPlaceUsingEigen() 737 flat_result.device(device) = QUANTIZE_WITH_EIGEN(flat_input, f2q, T); in FloatTensorToQuantizedInPlaceUsingEigen() 829 FloatToQuantizedStruct<T3> f2q(*output_min, *output_max); in QuantizedAddUsingEigen() [all …]
|
D | quantized_concat_op.cc | 54 FloatToQuantizedStruct<T> f2q(output_min, output_max); in Copy() local 55 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T); in Copy()
|
D | quantization_utils_test.cc | 668 FloatToQuantizedStruct<qint32> f2q(input_min, input_max); in TestOverflowWithEigen() local 671 output.flat<qint32>() = QUANTIZE_WITH_EIGEN(input_array, f2q, qint32); in TestOverflowWithEigen()
|