Home
last modified time | relevance | path

Searched refs:scope_and_name (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgraph_optimizer_stage_test.cc52 const auto scope_and_name = ParseNodeScopeAndName("Add"); in TEST_F() local
53 EXPECT_EQ(scope_and_name.scope, ""); in TEST_F()
54 EXPECT_EQ(scope_and_name.name, "Add"); in TEST_F()
58 const auto scope_and_name = ParseNodeScopeAndName("a/b/c/Add"); in TEST_F() local
59 EXPECT_EQ(scope_and_name.scope, "a/b/c"); in TEST_F()
60 EXPECT_EQ(scope_and_name.name, "Add"); in TEST_F()
Darithmetic_optimizer.cc780 auto scope_and_name = ParseNodeScopeAndName(node->name()); in OuterNodeName() local
781 return is_div ? OptimizedNodeName(scope_and_name, "Div") in OuterNodeName()
782 : OptimizedNodeName(scope_and_name, "Mul"); in OuterNodeName()
787 auto scope_and_name = ParseNodeScopeAndName(node->name()); in InnerAddNodeName() local
788 return OptimizedNodeName(scope_and_name, "AddV2"); in InnerAddNodeName()
2609 const NodeScopeAndName scope_and_name = in TrySimplify() local
2612 OptimizedNodeName(scope_and_name, "_inner"); in TrySimplify()