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

Function FOR_RANGE

oneflow/core/graph/task_graph.cpp:616–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614 const std::vector<CompTaskNode*>& dst_task_nodes) {
615 CHECK_EQ(src_task_nodes.size(), dst_task_nodes.size());
616 FOR_RANGE(int32_t, i, 0, src_task_nodes.size()) {
617 ConnectCtrlEdge(src_task_nodes.at(i), dst_task_nodes.at(i));
618 }
619}
620
621void TaskGraph::RemoveEmptyRegsts() {

Callers

nothing calls this directly

Calls 7

BuildCtrlRegstDescMethod · 0.80
findMethod · 0.80
atMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected