Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/utils/
Dtraversal.cc41 enum class NodeState { kNotVisited, kVisiting, kDone }; enumerator
85 if (state == NodeState::kVisiting) { in DfsTraversal()
93 state = NodeState::kVisiting; in DfsTraversal()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group_util.cc273 if ((*visit_state)[hlo] == VisitState::kVisiting) { in VisitTopologicalOrder()
278 TF_RET_CHECK((*visit_state)[instruction] == VisitState::kVisiting); in VisitTopologicalOrder()
289 (*visit_state)[instruction] = VisitState::kVisiting; in VisitTopologicalOrder()
299 if ((*visit_state)[predecessor] == VisitState::kVisiting) { in VisitTopologicalOrder()
Ddfs_hlo_visitor.cc53 visit_state_[instruction.unique_id()] = VisitState::kVisiting; in SetVisiting()
Dhlo_module_group_util.h64 kVisiting, enumerator
Ddfs_hlo_visitor.h304 kVisiting = 1, enumerator
352 return GetVisitState(instruction) == kVisiting; in IsVisiting()
Dhlo_computation.cc454 auto result = visited.insert({&current, kVisiting}); in ComputeInstructionPostOrder()
1247 CHECK_EQ(it->second, kVisiting); in CloneWithReplacements()
1253 visited.insert({cur, kVisiting}); in CloneWithReplacements()
Dhlo_computation.h696 enum VisitState { kVisiting, kVisited }; enumerator
Dhlo_instruction.cc3727 case Visitor::kVisiting: in PushDFSChild()
3774 if (visit_state == Visitor::kVisiting) { in PostOrderDFS()
3785 visitor->SetVisitState(current_id, Visitor::kVisiting); in PostOrderDFS()
/external/tensorflow/tensorflow/compiler/xla/client/
Dvalue_inference.cc1493 kVisiting, in PostOrderDFSVisit() enumerator
1530 if (item.state == kVisiting) { in PostOrderDFSVisit()
1556 item.state = kVisiting; in PostOrderDFSVisit()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision.cc811 enum class NodeState { kNotVisited, kVisiting, kDone }; enumerator
854 if (state == NodeState::kVisiting) { in DfsTypeTraversal()
861 state = NodeState::kVisiting; in DfsTypeTraversal()