Home
last modified time | relevance | path

Searched refs:expected_float (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops_test.cc53 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local
54 test::FillValues<float>(&expected_float, {0, 0, 0, 1, 3, 6, 7, 100}); in TEST_F()
66 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
84 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local
85 test::FillValues<float>(&expected_float, {0, 0, 0, 1, 3, 6, 6, 6}); in TEST_F()
97 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
Dquantized_pooling_ops_test.cc66 Tensor expected_float(DT_FLOAT, in TEST_F() local
68 test::FillValues<float>(&expected_float, {6, 7, 10, 11, 22, 23, 26, 27}); in TEST_F()
80 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
111 Tensor expected_float(DT_FLOAT, in TEST_F() local
113 test::FillValues<float>(&expected_float, {11, 12, 15, 16, 27, 28, 31, 32}); in TEST_F()
125 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
Dquantized_bias_add_op_test.cc69 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local
70 test::FillValues<float>(&expected_float, in TEST_F()
87 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
141 Tensor expected_float(DT_FLOAT, {input_height, input_width}); in TEST_F() local
143 &expected_float, in TEST_F()
169 test::ExpectTensorNear<float>(expected_float, output_float, 20.0); in TEST_F()
Dquantized_concat_op_test.cc95 Tensor expected_float(DT_FLOAT, {expected_batch, first_height, first_width}); in TestSmall8Bit() local
96 test::FillValues<float>(&expected_float, in TestSmall8Bit()
115 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall8Bit()
160 Tensor expected_float(DT_FLOAT, {expected_batch, first_height, first_width}); in TestSmall32Bit() local
162 &expected_float, in TestSmall32Bit()
181 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall32Bit()
223 Tensor expected_float(DT_FLOAT, {first_batch, expected_height, first_width}); in TestSecondDim8Bit() local
224 test::FillValues<float>(&expected_float, in TestSecondDim8Bit()
243 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TestSecondDim8Bit()
Dmkl_quantized_pooling_ops_test.cc104 Tensor expected_float(DT_FLOAT, in TEST_F() local
106 test::FillValues<float>(&expected_float, {6, 7, 10, 11, 22, 23, 26, 27}); in TEST_F()
130 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
173 Tensor expected_float(DT_FLOAT, in TEST_F() local
175 test::FillValues<float>(&expected_float, {11, 12, 15, 16, 27, 28, 31, 32}); in TEST_F()
198 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
Dmkl_quantized_concat_op_test.cc129 Tensor expected_float( in TestSmall8Bit() local
131 test::FillValues<float>(&expected_float, in TestSmall8Bit()
154 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall8Bit()
203 Tensor expected_float( in TestSecondDim8Bit() local
205 test::FillValues<float>(&expected_float, in TestSecondDim8Bit()
229 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TestSecondDim8Bit()
Dquantized_conv_ops_test.cc121 Tensor expected_float( in TEST_F() local
124 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F()
131 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TEST_F()
312 Tensor expected_float( in TEST_F() local
315 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F()
322 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TEST_F()
Dquantized_batch_norm_op_test.cc120 Tensor expected_float( in TEST_F() local
124 &expected_float, {-17.86, -22.00, -15.87, -20.59, -13.87, -19.18, -21.86, in TEST_F()
131 test::ExpectTensorNear<float>(expected_float, output_float, 0.1); in TEST_F()
217 Tensor expected_float( in TEST_F() local
232 false, expected_float.tensor<float, 4>()); in TEST_F()
239 test::ExpectTensorNear<float>(expected_float, output_float, 0.1); in TEST_F()
Dquantized_matmul_op_test.cc335 Tensor expected_float(DT_FLOAT, {a_cols, b_cols}); in TEST_F() local
337 &expected_float, in TEST_F()
355 test::ExpectTensorNear<float>(expected_float, output_float, 15.0); in TEST_F()
Dmkl_quantized_conv_ops_test.cc184 Tensor expected_float( in TEST_F() local
187 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F()
203 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TEST_F()
/external/grpc-grpc/third_party/nanopb/examples/using_double_on_avr/
Dtest_conversions.c25 float expected_float = (float)orig; in main() local
26 double expected_double = (double)expected_float; in main()
31 uint32_t e1 = *(uint32_t*)&expected_float; in main()
/external/nanopb-c/examples/using_double_on_avr/
Dtest_conversions.c25 float expected_float = (float)orig; in main() local
26 double expected_double = (double)expected_float; in main()
31 uint32_t e1 = *(uint32_t*)&expected_float; in main()
/external/gemmlowp/test/
Dcorrectness_meta_gemm.cc118 float expected_float = static_cast<float>(expected) * result_offset; in check_result_f() local
120 if (actual_float != expected_float) { in check_result_f()
121 std::cout << "(" << i << ", " << j << "): " << expected_float << "!=" in check_result_f()
/external/gemmlowp/meta/
Dtest_gemm_correctness.cc171 float expected_float = static_cast<float>(expected) * FLOAT_SCALE; in check_row_row_f() local
173 if (actual != expected_float) { in check_row_row_f()
191 float expected_float = static_cast<float>(expected) * FLOAT_SCALE; in check_row_col_f() local
193 if (actual != expected_float) { in check_row_col_f()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_unittest.cpp651 const float expected_float[] = {0, 0, 0, -1234, 2345, 0.05f, 0, in TEST() local
656 EXPECT_EQ(expected_float[i], arr->GetNumberAt(i)); in TEST()
657 EXPECT_EQ(expected_float[i], arr->GetFloatAt(i)); in TEST()
/external/deqp-deps/glslang/gtests/
DHexFloat.cpp921 float expected_float; member
940 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp1021 float expected_float; member
1039 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp1021 float expected_float; member
1039 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()