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

Method IsMeaningLess

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

Source from the content-addressed store, hash-verified

203}
204
205bool TaskNode::IsMeaningLess() { return produced_regsts_.empty() && consumed_regsts_.empty(); }
206
207void TaskNode::InitFromProtoExceptConsumedRegsts(const TaskProto& task_proto) {
208 // Step1: init some scalar items.

Callers 3

CompileMethod · 0.45
CompileMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected