MCPcopy Create free account
hub / github.com/apache/singa / SetRandSeed

Method SetRandSeed

src/core/device/cpp_cpu.cc:36–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34CppCPU::~CppCPU(){};
35
36void CppCPU::SetRandSeed(unsigned seed) { ctx_.random_generator.seed(seed); }
37
38void CppCPU::DoExec(function<void(Context*)>&& fn, int executor) {
39 CHECK_EQ(executor, 0);

Callers 15

forwardMethod · 0.45
evaluateMethod · 0.45
runFunction · 0.45
runFunction · 0.45
fully_train_archMethod · 0.45
runFunction · 0.45
runFunction · 0.45
runFunction · 0.45
runFunction · 0.45
runFunction · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected