Home
last modified time | relevance | path

Searched refs:input_float (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops_test.cc49 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()
Dquantized_pooling_ops_test.cc56 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()
Dquantized_bias_add_op_test.cc55 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()
Dmkl_quantized_pooling_ops_test.cc86 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()
Dquantized_batch_norm_op_test.cc67 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()
Dquantization_utils.h220 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()
Dquantized_concat_op.cc53 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/
Dtest_transform_correctness.cc151 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/
Dincrease_dynamism_for_auto_jit_pass_test.cc369 Output input_float = in TEST() local
382 root.WithOpName("slice_with_slice_begin"), input_float, begin, size); in TEST()