/external/tensorflow/tensorflow/core/kernels/ |
quantized_activation_ops_test.cc | 49 Tensor input_float(DT_FLOAT, {input_height, input_width}); 50 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); 52 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); 80 Tensor input_float(DT_FLOAT, {input_height, input_width}); 81 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); 83 FloatTensorToQuantized<quint8>(input_float, input_min, input_max);
|
quantized_pooling_ops_test.cc | 56 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); 58 &input_float, 62 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); 101 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); 103 &input_float, 107 FloatTensorToQuantized<quint8>(input_float, input_min, input_max);
|
quantized_bias_add_op_test.cc | 55 Tensor input_float(DT_FLOAT, {input_height, input_width}); 56 test::FillValues<float>(&input_float, 59 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); 105 Tensor input_float(DT_FLOAT, {input_height, input_width}); 107 &input_float, 119 FloatTensorToQuantized<quint8>(input_float, input_min, input_max);
|
quantized_batch_norm_op_test.cc | 67 Tensor input_float(DT_FLOAT, 69 test::FillValues<float>(&input_float, 72 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); 164 Tensor input_float(DT_FLOAT, 166 test::FillValues<float>(&input_float, 169 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); 223 const Tensor& const_input_float = input_float;
|
quantization_utils.h | 220 const float input_float = QuantizedToFloat<T1>(input, min_input, max_input); local 221 return FloatToQuantized<T2>(input_float, min_new, max_new); 230 const float input_float = local 232 output[index] = FloatToQuantized<T2>(input_float, min_output, max_output); 674 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); 676 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T2); [all...] |
quantized_concat_op.cc | 53 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); local 55 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T);
|
/external/gemmlowp/meta/ |
test_transform_correctness.cc | 151 float input_float = static_cast<float>(input); local 152 input_float -= params.kernel.input_range_offset; 153 input_float *= params.kernel.input_range_scale; 154 input_float += params.kernel.input_range_min; 159 float sum = input_float + bias_float;
|