MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / ForEachOutDataEdge

Method ForEachOutDataEdge

oneflow/core/graph/task_node.cpp:490–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void TaskNode::ForEachOutDataEdge(const std::function<void(TaskEdge*)>& Handler) const {
491 ForEachDataEdge(out_edges(), Handler);
492}
493
494void TaskNode::ForEachNodeOnInDataEdge(const std::function<void(TaskNode*)>& Handler) const {
495 ForEachInDataEdge([&](TaskEdge* in_edge) { Handler(in_edge->src_node()); });

Calls 1

ForEachDataEdgeFunction · 0.85

Tested by

no test coverage detected