Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ EnableLazyAlloc
Method
EnableLazyAlloc
include/singa/core/device.h:71–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
void EnableGraph(bool enable) { graph_enabled_ = enable; }
70
71
static void EnableLazyAlloc(bool enbale) { lazy_alloc_ = enbale; }
72
73
/// Called by Tensor.
74
Block* NewBlock(int size);
Callers
1
enable_lazy_alloc
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected