Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ alloc_varnode
Method
alloc_varnode
src/core/include/megbrain/graph/cg.h:254–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
252
*/
253
template <typename... Args>
254
VarNode* alloc_varnode(Args&&... args) {
255
return new (alloc_varnode_storage()) VarNode(std::forward<Args>(args)...);
256
}
257
258
inline void free_varnode(VarNode* var) {
259
var->~VarNode();
Callers
1
add_output
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected