Searched refs:const_def (Results 1 – 5 of 5) sorted by relevance
414 auto const_def = nodes.find("duplicate_name/_0"); in TEST() local415 ASSERT_NE(const_def, nodes.end()); in TEST()416 EXPECT_EQ(const_def->second.op(), "Const"); in TEST()
126 NodeDef const_def = iter.second->def(); in ReplaceArgUsageWithConstNode() local127 const_def.set_name(g->NewName(const_def.name())); in ReplaceArgUsageWithConstNode()129 Node* const_node = g->AddNode(const_def, &s); in ReplaceArgUsageWithConstNode()
144 Instruction* const_def = in FindDeclaredConstant() local146 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant()
856 NodeDef const_def; in TEST_F() local860 .Finalize(&const_def)); in TEST_F()862 Node *const_node = g->AddNode(const_def, &s); in TEST_F()