/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_activation_ops_test.cc | 53 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()
|
D | quantized_pooling_ops_test.cc | 66 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()
|
D | quantized_bias_add_op_test.cc | 69 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()
|
D | quantized_concat_op_test.cc | 95 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()
|
D | quantized_batch_norm_op_test.cc | 119 Tensor expected_float( in TEST_F() local 123 &expected_float, {-17.86, -22.00, -15.87, -20.59, -13.87, -19.18, -21.86, in TEST_F() 130 test::ExpectTensorNear<float>(expected_float, output_float, 0.1); in TEST_F() 216 Tensor expected_float( in TEST_F() local 230 false, expected_float.tensor<float, 4>()); in TEST_F() 237 test::ExpectTensorNear<float>(expected_float, output_float, 0.1); in TEST_F()
|
D | quantized_conv_ops_test.cc | 121 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()
|
D | quantized_matmul_op_test.cc | 335 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()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_quantized_pooling_ops_test.cc | 104 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()
|
D | mkl_quantized_concat_op_test.cc | 133 Tensor expected_float( in TestSmall8Bit() local 135 test::FillValues<float>(&expected_float, in TestSmall8Bit() 158 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall8Bit() 207 Tensor expected_float( in TestSecondDim8Bit() local 209 test::FillValues<float>(&expected_float, in TestSecondDim8Bit() 233 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TestSecondDim8Bit()
|
D | mkl_quantized_conv_ops_perchannel_test.cc | 207 Tensor expected_float( in TEST_F() local 212 &expected_float, in TEST_F() 217 test::ExpectTensorNear<float>(expected_float, output_float, 0.5); in TEST_F()
|
D | mkl_quantized_conv_ops_test.cc | 266 Tensor expected_float( in TEST_F() local 269 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F() 285 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TEST_F() 371 Tensor expected_float( in TEST_F() local 374 test::FillValues<float>(&expected_float, {1}); in TEST_F() 389 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TEST_F()
|
/external/grpc-grpc/third_party/nanopb/examples/using_double_on_avr/ |
D | test_conversions.c | 25 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/ |
D | test_conversions.c | 25 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/fonttools/Tests/misc/ |
D | psCharStrings_test.py | 104 for (value, expected_hex, expected_float) in testNums: 117 self.assertAlmostEqual(decoded_result[0], expected_float)
|
/external/gemmlowp/test/ |
D | correctness_meta_gemm.cc | 118 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/ |
D | test_gemm_correctness.cc | 171 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/deqp-deps/glslang/gtests/ |
D | HexFloat.cpp | 921 float expected_float; member 940 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object_unittest.cpp | 670 const float expected_float[] = {0, 0, 0, -1234, 2345, 0.05f, 0, in TEST() local 675 EXPECT_EQ(expected_float[i], arr->GetNumberAt(i)); in TEST()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1021 float expected_float; member 1039 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | hex_float_test.cpp | 1021 float expected_float; member 1039 EXPECT_EQ(GetParam().expected_float, flt.value().getAsFloat()) in TEST_P()
|