Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/src/
Dhuffman_decode.cc166 std::queue<HuffmanNodePtr> node_queue; in FreeHuffmanNodeTree() local
167 node_queue.push(root); in FreeHuffmanNodeTree()
168 while (!node_queue.empty()) { in FreeHuffmanNodeTree()
169 auto cur_node = node_queue.front(); in FreeHuffmanNodeTree()
170 node_queue.pop(); in FreeHuffmanNodeTree()
172 node_queue.push(cur_node->left); in FreeHuffmanNodeTree()
175 node_queue.push(cur_node->right); in FreeHuffmanNodeTree()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dpipeline_split_utils.cc464 std::vector<AnfNodePtr> node_queue = {node}; in GetPreNode() local
465 while (!node_queue.empty()) { in GetPreNode()
466 auto cur_node = (*node_queue.begin())->cast<CNodePtr>(); in GetPreNode()
468 (void)node_queue.erase(node_queue.begin()); in GetPreNode()
471 (void)node_queue.erase(node_queue.begin()); in GetPreNode()
476 …(void)node_queue.insert(node_queue.end(), cur_node->inputs().begin() + 1, cur_node->inputs().end()… in GetPreNode()