MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / change_stream

Method change_stream

src/core/impl/comp_node/comp_node.cpp:656–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656CompNode CompNode::change_stream(int dest_stream) const {
657 mgb_assert(m_impl);
658 auto loc = m_impl->locator(), loc_logical = m_impl->locator_logical();
659 loc.stream = loc_logical.stream = dest_stream;
660 return load(loc, loc_logical);
661}
662
663std::unique_ptr<CompNodeSeqRecorder> CompNode::ImplBase::create_seq_recorder(
664 cg::ComputingGraph*) {

Callers 11

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
initMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
initMethod · 0.80

Calls 3

loadFunction · 0.50
locatorMethod · 0.45
locator_logicalMethod · 0.45

Tested by 8

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64