Searched refs:nop_nodes (Results 1 – 2 of 2) sorted by relevance
267 static std::unordered_set<std::string> nop_nodes = {prim::kPrimReshape->name(), kExpandDimsOpName, in IsNopNode() local287 if (nop_nodes.find(AnfAlgo::GetCNodeName(cnode)) == nop_nodes.end() && !is_nop_node) { in IsNopNode()
1375 queue<CNodePtr> nop_nodes; in GetInputKernels() local1382 nop_nodes.push(node->cast<CNodePtr>()); in GetInputKernels()1383 while (!nop_nodes.empty()) { in GetInputKernels()1384 auto cur_node = nop_nodes.front(); in GetInputKernels()1385 nop_nodes.pop(); in GetInputKernels()1392 nop_nodes.push(new_node->cast<CNodePtr>()); in GetInputKernels()