Searched refs:expected_vals (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/base/ |
D | filerotatingstream_unittest.cc | 279 int expected_vals[] = {0, 1, 2, 6, 7}; in TEST_F() local 280 for (size_t i = 0; i < arraysize(expected_vals); ++i) { in TEST_F() 281 memset(expected_buffer.get(), expected_vals[i], buffer_size); in TEST_F() 306 int expected_vals[] = {0, 1}; in TEST_F() local 307 for (size_t i = 0; i < arraysize(expected_vals); ++i) { in TEST_F() 308 memset(expected_buffer.get(), expected_vals[i], buffer_size); in TEST_F()
|
/external/tensorflow/tensorflow/core/util/sparse/ |
D | sparse_tensor_test.cc | 490 std::vector<Eigen::Tensor<int32, 1, Eigen::RowMajor> > expected_vals; in TEST() local 494 expected_vals.emplace_back(3); // 3 x 5 x 1 x 1 tensor in TEST() 498 expected_vals[0].setConstant(-1); in TEST() 499 expected_vals[0](0) = 1; // val associated with ix 000 in TEST() 500 expected_vals[0](1) = 5; // val associated with ix 002 in TEST() 501 expected_vals[0](2) = 4; // val associated with ix 010 in TEST() 505 expected_vals.emplace_back(1); in TEST() 508 expected_vals[1](0) = 3; // val associated with ix 200 in TEST() 512 expected_vals.emplace_back(1); in TEST() 515 expected_vals[2](0) = 2; // val associated with ix 300 in TEST() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | self_adjoint_eig_test.cc | 226 float expected_vals = 1e-3; in XLA_TEST_F() local 236 ComputeAndCompareR0<float>(&builder, expected_vals, {a_data.get()}, in XLA_TEST_F()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | depthtospace_op_test.py | 295 actual_vals, expected_vals = self.evaluate([actual, expected]) 296 self.assertTrue(np.array_equal(actual_vals, expected_vals))
|
D | spacetodepth_op_test.py | 285 actual_vals, expected_vals = self.evaluate([actual, expected]) 286 self.assertTrue(np.array_equal(actual_vals, expected_vals))
|