Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/utils/
Dtraversal.cc41 enum class NodeState { kNotVisited, kVisiting, kDone }; enum
61 absl::flat_hash_map<int, NodeState> node_state; in DfsTraversal()
66 NodeState& state = node_state[w.node]; in DfsTraversal()
67 if (state == NodeState::kDone) continue; in DfsTraversal()
71 state = NodeState::kDone; in DfsTraversal()
77 state = NodeState::kDone; in DfsTraversal()
85 if (state == NodeState::kVisiting) { in DfsTraversal()
93 state = NodeState::kVisiting; in DfsTraversal()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.h42 struct NodeState { struct
90 NodeState() { in NodeState() function
166 const std::unordered_map<const NodeDef*, NodeState>* node_map) { in Init()
220 const std::unordered_map<const NodeDef*, NodeState>* node_map) override;
240 const std::unordered_map<const NodeDef*, NodeState>* node_map_;
290 const std::unordered_map<const NodeDef*, NodeState>* node_map) override;
308 const std::unordered_map<const NodeDef*, NodeState>* node_map_;
368 const std::unordered_map<const NodeDef*, NodeState>* GetNodeStates() const { in GetNodeStates()
385 const std::unordered_map<const NodeDef*, NodeState>& GetNodeMap() { in GetNodeMap()
404 NodeState& GetNodeStateOrCreateIt(const NodeDef* node);
[all …]
Dvirtual_scheduler.cc94 const NodeState& node_state, in UpdateDeviceAnnotationState()
166 const std::unordered_map<const NodeDef*, NodeState>* node_map) { in Init()
220 const std::unordered_map<const NodeDef*, NodeState>* node_map, in FirstReadyCmp()
272 const std::unordered_map<const NodeDef*, NodeState>* node_map) { in Init()
777 NodeState& SchedulerState::GetNodeStateOrCreateIt(const NodeDef* node) { in GetNodeStateOrCreateIt()
786 it = node_map_.emplace(node, NodeState()).first; in GetNodeStateOrCreateIt()
1210 const NodeState& nodestate = node_map_.at(node_def); in GenerateRunMetadata()
Dvirtual_scheduler_test.cc60 node_states_[node] = NodeState(); in NodeSetUp()
66 std::unordered_map<const NodeDef*, NodeState> node_states_;
2654 const NodeState* bn_node = nullptr; in TEST_F()
2655 const NodeState* x_node = nullptr; in TEST_F()
2658 const NodeState& node_state = nodedef_node_state.second; in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Deager_executor.cc132 item->state = NodeState::kPENDING; in AddOrExecute()
218 DCHECK(item->state != NodeState::kDONE); in NodeDone()
219 item->state = NodeState::kDONE; in NodeDone()
390 item->state = NodeState::kSCHEDULED; in RunItem()
Deager_executor.h179 enum class NodeState { enum
190 NodeState state;
/external/tensorflow/tensorflow/core/common_runtime/
Dpending_counts.h53 enum NodeState { enum
121 NodeState node_state(Handle h) { in node_state()
349 NodeState NodeStateForStruct(const T& c) const { in NodeStateForStruct()
Dpropagator_state.h161 PendingCounts::NodeState node_state(PendingCounts::Handle h) { in node_state()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager_test.cc297 struct NodeState { struct in tensorflow::NcclManagerTest
304 std::vector<NodeState> node_states(num_nodes); in RunMultiNodeAllReduceTest()
308 void RunMultiNodeAllReduceTest(std::vector<NodeState>& node_states, in RunMultiNodeAllReduceTest()
369 std::vector<NodeState> node_states(num_nodes); in RunMultiNodeBroadcastTest()
866 using NodeState = typename TestFixture::NodeState; in TYPED_TEST() typedef
869 std::vector<NodeState> nodes(num_nodes); in TYPED_TEST()
/external/llvm/include/llvm/Object/
DMachO.h81 struct NodeState { struct
82 NodeState(const uint8_t *Ptr);
97 SmallVector<NodeState, 16> Stack; argument
/external/llvm-project/llvm/include/llvm/Object/
DMachO.h97 struct NodeState { struct
98 NodeState(const uint8_t *Ptr);
111 using NodeList = SmallVector<NodeState, 16>; argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachO.h97 struct NodeState { struct
98 NodeState(const uint8_t *Ptr);
111 using NodeList = SmallVector<NodeState, 16>; argument
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision.cc745 enum class NodeState { kNotVisited, kVisiting, kDone }; enum
764 absl::flat_hash_map<int, NodeState> node_state; in DfsTypeTraversal()
769 NodeState& state = node_state[w.node]; in DfsTypeTraversal()
770 if (state == NodeState::kDone) continue; in DfsTypeTraversal()
774 state = NodeState::kDone; in DfsTypeTraversal()
780 state = NodeState::kDone; in DfsTypeTraversal()
788 if (state == NodeState::kVisiting) { in DfsTypeTraversal()
795 state = NodeState::kVisiting; in DfsTypeTraversal()
/external/llvm/lib/Object/
DMachOObjectFile.cpp1405 ExportEntry::NodeState::NodeState(const uint8_t *Ptr) in NodeState() function in ExportEntry::NodeState
1412 NodeState State(Ptr); in pushNode()
1437 NodeState &Top = Stack.back(); in pushDownUntilBottom()
1478 NodeState &Top = Stack.back(); in moveNext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp2854 ExportEntry::NodeState::NodeState(const uint8_t *Ptr) in NodeState() function in ExportEntry::NodeState
2860 NodeState State(Ptr); in pushNode()
2996 NodeState &Top = Stack.back(); in pushDownUntilBottom()
3019 for (const NodeState &node : nodes()) { in pushDownUntilBottom()
3070 NodeState &Top = Stack.back(); in moveNext()
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp2885 ExportEntry::NodeState::NodeState(const uint8_t *Ptr) in NodeState() function in ExportEntry::NodeState
2891 NodeState State(Ptr); in pushNode()
3027 NodeState &Top = Stack.back(); in pushDownUntilBottom()
3050 for (const NodeState &node : nodes()) { in pushDownUntilBottom()
3101 NodeState &Top = Stack.back(); in moveNext()