Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dinstruction_fusion.cc330 post_order_ = computation->MakeInstructionPostOrder(); in ReversePostOrderFusionQueue()
332 for (size_t i = 0; i < post_order_.size(); ++i) { in ReversePostOrderFusionQueue()
333 InsertOrDie(&post_order_index_, post_order_[i], i); in ReversePostOrderFusionQueue()
342 while (!post_order_.empty() && post_order_.back() == nullptr) { in DequeueNextInstructionAndOperandsToFuseInOrder()
343 post_order_.pop_back(); in DequeueNextInstructionAndOperandsToFuseInOrder()
345 if (post_order_.empty()) { in DequeueNextInstructionAndOperandsToFuseInOrder()
350 HloInstruction* instruction = post_order_.back(); in DequeueNextInstructionAndOperandsToFuseInOrder()
351 post_order_.pop_back(); in DequeueNextInstructionAndOperandsToFuseInOrder()
427 InsertOrDie(&post_order_index_, fusion, post_order_.size()); in OnFusingInstruction()
428 post_order_.push_back(fusion); in OnFusingInstruction()
[all …]