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

Method on_output_comp_node_stream_changed

src/opr/impl/io.cpp:842–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840}
841
842void intl::MultipleDeviceTensorHolderBase::on_output_comp_node_stream_changed() {
843 mgb_throw(SystemError, "comp node of device tensor should not change");
844}
845
846void intl::MultipleDeviceTensorHolderBase::init_output_comp_node() {
847 for (size_t i = 0; i < m_values.size(); ++i) {

Callers 6

optimize_comp_nodesMethod · 0.45
restore_comp_nodesMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36