Searched refs:fdef2 (Results 1 – 2 of 2) sorted by relevance
1427 FunctionDef fdef2 = test::function::XTimesTwo(); in TEST() local1429 EXPECT_TRUE(FunctionDefsEqual(fdef1, fdef2)); in TEST()1430 EXPECT_EQ(hash1, FunctionDefHash(fdef2)); in TEST()1433 fdef2 = test::function::XTimesFour(); in TEST()1434 EXPECT_FALSE(FunctionDefsEqual(fdef1, fdef2)); in TEST()1435 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()1438 fdef2 = test::function::XTimesTwo(); in TEST()1439 fdef2.mutable_signature()->mutable_input_arg(0)->set_name("foo"); in TEST()1440 EXPECT_FALSE(FunctionDefsEqual(fdef1, fdef2)); in TEST()1441 EXPECT_NE(hash1, FunctionDefHash(fdef2)); in TEST()[all …]
1602 tensorflow::FunctionDef fdef1, fdef2; in AssertEqual() local1604 ASSERT_TRUE(GetFunctionDef(f2, &fdef2)); in AssertEqual()1606 SerializeToStringDeterministic(fdef2, &s2); in AssertEqual()