Searched refs:f2q (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | quantization_utils.h | 157 #define QUANTIZE_WITH_EIGEN(input_array, f2q, OutputType) \ argument 158 ((input_array * f2q.range_scale).round() - \ 159 (f2q.range_min_scaled - f2q.lowest_quantized())) \ 160 .cwiseMax(f2q.lower_bound_float()) \ 161 .cwiseMin(f2q.upper_bound_float()) \ 684 FloatToQuantizedStruct<T2> f2q(min_output, max_output); in RequantizeManyInNewRangeUsingEigen() 685 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T2); in RequantizeManyInNewRangeUsingEigen() 745 FloatToQuantizedStruct<T> f2q(min, max); in FloatTensorToQuantizedInPlaceUsingEigen() 746 flat_result.device(device) = QUANTIZE_WITH_EIGEN(flat_input, f2q, T); in FloatTensorToQuantizedInPlaceUsingEigen() 838 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()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_concat_op.cc | 76 FloatToQuantizedStruct<T> f2q(output_min, output_max); in Copy() local 80 output_array = QUANTIZE_WITH_EIGEN(input_float, f2q, T); in Copy()
|
/external/llvm-project/llvm/test/CodeGen/VE/Scalar/ |
D | cast.ll | 375 define fp128 @f2q(float) { 376 ; CHECK-LABEL: f2q:
|