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

Function scn_do_execute

src/opr/test/internal.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 InferShapeCallback m_infer_shape_callback;
29
30 void scn_do_execute() override {
31 output(0)->dev_tensor().copy_from_fixlayout(input(0)->dev_tensor());
32 }
33
34 void init_output_static_infer_desc() override {
35 using namespace cg::static_infer;

Callers

nothing calls this directly

Calls 2

copy_from_fixlayoutMethod · 0.80
dev_tensorMethod · 0.45

Tested by

no test coverage detected