Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ EnableGraph
Method
EnableGraph
include/singa/core/device.h:69–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
virtual void SetRandSeed(unsigned seed) = 0;
68
69
void EnableGraph(bool enable) { graph_enabled_ = enable; }
70
71
static void EnableLazyAlloc(bool enbale) { lazy_alloc_ = enbale; }
72
Callers
15
device_check
Method · 0.80
apply
Method · 0.80
apply
Method · 0.80
apply
Method · 0.80
apply
Method · 0.80
backward_and_sparse_update
Method · 0.80
wrapper
Method · 0.80
dtype_check
Method · 0.80
device_check
Method · 0.80
run
Method · 0.80
wrapper
Method · 0.80
compile
Method · 0.80
Calls
no outgoing calls
Tested by
4
test_sgd_const_lr
Method · 0.64
test_RMSProp_const_lr
Method · 0.64
test_AdaGrad_const_lr
Method · 0.64
test_Adam_const_lr
Method · 0.64