/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_activation_ops_test.cc | 49 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 50 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); in TEST_F() 52 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 80 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 81 test::FillValues<float>(&input_float, {-100, -1, 0, 1, 3, 6, 7, 100}); in TEST_F() 83 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_pooling_ops_test.cc | 56 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 58 &input_float, in TEST_F() 62 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 101 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 103 &input_float, in TEST_F() 107 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_bias_add_op_test.cc | 55 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 56 test::FillValues<float>(&input_float, in TEST_F() 59 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 105 Tensor input_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local 107 &input_float, in TEST_F() 119 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | mkl_quantized_pooling_ops_test.cc | 86 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 88 &input_float, in TEST_F() 92 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 155 Tensor input_float(DT_FLOAT, {1, input_height, input_width, input_channels}); in TEST_F() local 157 &input_float, in TEST_F() 161 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F()
|
D | quantized_batch_norm_op_test.cc | 67 Tensor input_float(DT_FLOAT, in TEST_F() local 69 test::FillValues<float>(&input_float, in TEST_F() 72 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 164 Tensor input_float(DT_FLOAT, in TEST_F() local 166 test::FillValues<float>(&input_float, in TEST_F() 169 FloatTensorToQuantized<quint8>(input_float, input_min, input_max); in TEST_F() 223 const Tensor& const_input_float = input_float; in TEST_F()
|
D | quantization_utils.h | 220 const float input_float = QuantizedToFloat<T1>(input, min_input, max_input); in RequantizeInNewRange() local 221 return FloatToQuantized<T2>(input_float, min_new, max_new); in RequantizeInNewRange() 230 const float input_float = in RequantizeManyInNewRange() local 232 output[index] = FloatToQuantized<T2>(input_float, min_output, max_output); in RequantizeManyInNewRange() 674 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); in RequantizeManyInNewRangeUsingEigen() local 676 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T2); in RequantizeManyInNewRangeUsingEigen() 836 auto input_float = DEQUANTIZE_WITH_EIGEN(input_flat, input_q2f); in QuantizedAddUsingEigen() local 837 auto input_in_total_space = QUANTIZE_WITH_EIGEN(input_float, f2q, T3); in QuantizedAddUsingEigen()
|
D | quantized_concat_op.cc | 53 auto input_float = DEQUANTIZE_WITH_EIGEN(input_array, q2f); in Copy() local 55 auto input_requantized = QUANTIZE_WITH_EIGEN(input_float, f2q, T); in Copy()
|
/external/gemmlowp/meta/ |
D | test_transform_correctness.cc | 151 float input_float = static_cast<float>(input); in verify_biasadd() local 152 input_float -= params.kernel.input_range_offset; in verify_biasadd() 153 input_float *= params.kernel.input_range_scale; in verify_biasadd() 154 input_float += params.kernel.input_range_min; in verify_biasadd() 159 float sum = input_float + bias_float; in verify_biasadd()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | increase_dynamism_for_auto_jit_pass_test.cc | 369 Output input_float = in TEST() local 382 root.WithOpName("slice_with_slice_begin"), input_float, begin, size); in TEST()
|