MCPcopy 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_checkMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
applyMethod · 0.80
wrapperMethod · 0.80
dtype_checkMethod · 0.80
device_checkMethod · 0.80
runMethod · 0.80
wrapperMethod · 0.80
compileMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_sgd_const_lrMethod · 0.64
test_RMSProp_const_lrMethod · 0.64
test_AdaGrad_const_lrMethod · 0.64
test_Adam_const_lrMethod · 0.64