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

Function init_output_comp_node

src/core/test/graph/misc.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 void scn_do_execute() override {}
70
71 void init_output_comp_node() override {
72 output(0)->comp_node(CompNode::load("xpu0"));
73 }
74
75 void init_output_static_infer_desc() override {
76 using namespace mgb::cg::static_infer;

Callers

nothing calls this directly

Calls 3

comp_nodeFunction · 0.85
loadFunction · 0.50
comp_nodeMethod · 0.45

Tested by

no test coverage detected