Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ init_output_comp_node
Function
init_output_comp_node
src/core/test/mem_reuse.cpp:27–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
DeviceTensorND m_dv;
26
27
void init_output_comp_node() override {
28
output(0)->comp_node(m_dv.comp_node());
29
comp_node(m_dv.comp_node());
30
}
31
32
void scn_do_execute() override { output(0)->reset_dev_tensor_from_tensor(m_dv); }
33
Callers
nothing calls this directly
Calls
2
comp_node
Function · 0.85
comp_node
Method · 0.45
Tested by
no test coverage detected