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

Method ConsumeRegst

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

Source from the content-addressed store, hash-verified

376}
377
378void TaskNode::ConsumeRegst(const std::string& name) {
379 consumed_regsts_.emplace(name, std::list<std::shared_ptr<RegstDesc>>{});
380}
381
382void TaskNode::ConsumeRegst(const std::string& name, const std::shared_ptr<RegstDesc>& regst) {
383 regst->AddConsumer(this);

Callers 1

BuildCtrlRegstDescMethod · 0.80

Calls 2

AddConsumerMethod · 0.80
emplace_backMethod · 0.45

Tested by

no test coverage detected