Searched refs:expected_scores (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/image/ |
D | non_max_suppression_op_test.cc | 673 const auto expected_scores = in TEST_F() local 675 test::ExpectTensorNear<float>(expected_scores, *GetOutput(1), 1e-2); in TEST_F() 704 Tensor expected_scores(allocator(), DT_FLOAT, TensorShape({6})); in TEST_F() local 705 test::FillValues<float>(&expected_scores, in TEST_F() 707 test::ExpectTensorNear<float>(expected_scores, *GetOutput(1), 1e-2); in TEST_F() 982 Tensor expected_scores(allocator(), DT_FLOAT, TensorShape({0, 10})); in TEST_F() local 983 test::FillValues<float>(&expected_scores, {}); in TEST_F() 984 test::ExpectTensorEqual<float>(expected_scores, *GetOutput(1)); in TEST_F() 1017 Tensor expected_scores(allocator(), DT_FLOAT, TensorShape({1, 3})); in TEST_F() local 1018 test::FillValues<float>(&expected_scores, {0.95, 0.9, 0.3}); in TEST_F() [all …]
|
/external/icing/icing/store/ |
D | usage-store_test.cc | 158 UsageStore::UsageScores expected_scores = CreateUsageScores( in TEST_F() local 162 IsOkAndHolds(expected_scores)); in TEST_F() 166 ++expected_scores.usage_type1_count; in TEST_F() 168 IsOkAndHolds(expected_scores)); in TEST_F() 172 expected_scores.usage_type1_last_used_timestamp_s = 10; in TEST_F() 173 ++expected_scores.usage_type1_count; in TEST_F() 175 IsOkAndHolds(expected_scores)); in TEST_F() 192 UsageStore::UsageScores expected_scores = CreateUsageScores( in TEST_F() local 197 IsOkAndHolds(expected_scores)); in TEST_F() 200 ++expected_scores.usage_type1_count; in TEST_F() [all …]
|
D | document-store_test.cc | 1776 UsageStore::UsageScores expected_scores; in TEST_F() local 1777 expected_scores.usage_type1_count = 1; in TEST_F() 1779 IsOkAndHolds(expected_scores)); in TEST_F() 1824 UsageStore::UsageScores expected_scores; in TEST_F() local 1825 expected_scores.usage_type1_count = 1; in TEST_F() 1827 IsOkAndHolds(expected_scores)); in TEST_F() 2792 UsageStore::UsageScores expected_scores; in TEST_F() local 2793 expected_scores.usage_type1_last_used_timestamp_s = 1; in TEST_F() 2794 ++expected_scores.usage_type1_count; in TEST_F() 2796 IsOkAndHolds(expected_scores)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | dense_attention_test.py | 51 expected_scores = np.array([[[1.]]], dtype=np.float32) 52 self.assertAllClose(expected_scores, actual_scores) 67 expected_scores = np.array([[[1.]]], dtype=np.float32) 68 self.assertAllClose(expected_scores, actual_scores) 89 expected_scores = np.array([[[0.73105857863, 0.26894142137, 0.]]], 91 self.assertAllClose(expected_scores, actual_scores) 113 expected_scores = np.array( 115 self.assertAllClose(expected_scores, actual_scores) 134 expected_scores = np.array([[[1.]], [[1.]]], dtype=np.float32) 135 self.assertAllClose(expected_scores, actual_scores) [all …]
|
/external/tensorflow/tensorflow/c/eager/ |
D | mnist_gradients_test.cc | 192 float expected_scores[4] = {3.6f, -6.0f, 10.2f, -17.0f}; in TEST_P() local 195 ASSERT_NEAR(result_data[j], expected_scores[j], tolerance); in TEST_P() 269 float expected_scores[6] = {3.6f, -6.0f, 10.2f, -17.0f, 16.8f, -28.0f}; in TEST_P() local 272 ASSERT_NEAR(result_data[j], expected_scores[j], tolerance); in TEST_P() 338 float expected_scores[6] = {13.0f, 18.0f, 17.0f, 24.0f, 21.0f, 30.0f}; in TEST_P() local 341 ASSERT_NEAR(result_data[j], expected_scores[j], tolerance); in TEST_P()
|