MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST_F

Function TEST_F

tensorflow/core/common_runtime/optimization_registry_test.cc:81–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79};
80
81TEST_F(OptimizationPassTest, UpdateFuncLibPass) {
82 RunPass();
83 auto f1 = GetFunctionDef("XTimesTwo");
84 ASSERT_NE(f1, nullptr);
85 EXPECT_EQ(test::function::XTimesTwo().DebugString(), f1->DebugString());
86
87 auto f2 = GetFunctionDef("WXPlusB");
88 ASSERT_NE(f2, nullptr);
89 EXPECT_EQ(test::function::WXPlusB().DebugString(), f2->DebugString());
90}
91
92} // namespace tensorflow

Callers

nothing calls this directly

Calls 5

RunPassFunction · 0.85
GetFunctionDefFunction · 0.85
XTimesTwoFunction · 0.85
WXPlusBFunction · 0.85
DebugStringMethod · 0.45

Tested by

no test coverage detected