Searched refs:tensor_expected (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | layout_optimizer_test.cc | 401 Tensor tensor_expected(DT_INT32, {4, 2}); in TEST_F() local 402 test::FillValues<int>(&tensor_expected, {1, 2, 7, 8, 3, 4, 5, 6}); in TEST_F() 403 test::ExpectTensorEqual<int>(tensor_expected, tensor); in TEST_F() 924 Tensor tensor_expected(DT_INT32, {4}); in TEST_F() local 925 test::FillValues<int>(&tensor_expected, {1, 2, 1, 1}); in TEST_F() 926 test::ExpectTensorEqual<int>(tensor_expected, tensor); in TEST_F() 948 Tensor tensor_expected(DT_INT32, {4}); in TEST_F() local 949 test::FillValues<int>(&tensor_expected, {1, 2, 1, 1}); in TEST_F() 950 test::ExpectTensorEqual<int>(tensor_expected, tensor); in TEST_F()
|
D | constant_folding_test.cc | 392 auto tensor_expected = in TEST_F() local 394 ASSERT_EQ(fetch.size(), tensor_expected.size()); in TEST_F() 399 test::ExpectTensorEqual<float>(tensor_expected[i], tensors[i]); in TEST_F() 448 auto tensor_expected = EvaluateNodes(item.graph, fetch, {{"x", x_t}}); in TEST_F() local 449 ASSERT_EQ(fetch.size(), tensor_expected.size()); in TEST_F() 454 test::ExpectTensorEqual<float>(tensor_expected[i], tensors[i]); in TEST_F() 518 auto tensor_expected = in TEST_F() local 520 ASSERT_EQ(fetch.size(), tensor_expected.size()); in TEST_F() 525 test::ExpectTensorEqual<float>(tensor_expected[i], tensors[i]); in TEST_F() 595 auto tensor_expected = EvaluateNodes( in TEST_F() local [all …]
|