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

Method VisualStr

oneflow/core/graph/task_node.cpp:197–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197std::string TaskNode::VisualStr() const {
198 std::stringstream ss;
199 ss << TaskType_Name(GetTaskType()) << "\\n"
200 << machine_id_ << ":" << thrd_id_ << "\\n"
201 << task_id_;
202 return ss.str();
203}
204
205bool TaskNode::IsMeaningLess() { return produced_regsts_.empty() && consumed_regsts_.empty(); }
206

Callers 1

CheckRegstLbiValidMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected