Home
last modified time | relevance | path

Searched refs:CountOpNodes (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/utils/
Dgrappler_test_test.cc68 TEST_F(GrapplerTestTest, CountOpNodes) { in TEST_F() argument
92 EXPECT_EQ(2, CountOpNodes(graph, "Add")); in TEST_F()
93 EXPECT_EQ(2, CountOpNodes(graph, "Mul")); in TEST_F()
94 EXPECT_EQ(1, CountOpNodes(graph, "AddN")); in TEST_F()
95 EXPECT_EQ(0, CountOpNodes(graph, "Transpose")); in TEST_F()
Dgrappler_test.h78 int CountOpNodes(const GraphDef& graph, const string& op);
Dgrappler_test.cc184 int GrapplerTest::CountOpNodes(const GraphDef& graph, const string& op) { in CountOpNodes() function in tensorflow::grappler::GrapplerTest
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test.cc921 EXPECT_EQ(0, CountOpNodes(output, "Reshape")); in TEST_F()
963 EXPECT_EQ(0, CountOpNodes(output, "Reshape")); in TEST_F()
993 EXPECT_EQ(1, CountOpNodes(output, "Reshape")); in TEST_F()
1023 EXPECT_EQ(0, CountOpNodes(output, "Reshape")); in TEST_F()
1051 EXPECT_EQ(1, CountOpNodes(output, "Reshape")); in TEST_F()
1074 EXPECT_EQ(1, CountOpNodes(output, "Reshape")); in TEST_F()
1108 EXPECT_EQ(1, CountOpNodes(output, "Reshape")); in TEST_F()
1780 EXPECT_EQ(1, CountOpNodes(output, "Bitcast")); in TEST_F()
1814 EXPECT_EQ(0, CountOpNodes(output, "Bitcast")); in TEST_F()
1847 EXPECT_EQ(0, CountOpNodes(output, "Cast")); in TEST_F()