MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / set_random_seed

Method set_random_seed

rtpose_wrapper/src/caffe/common.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58Caffe::~Caffe() { }
59
60void Caffe::set_random_seed(const unsigned int seed) {
61 // RNG seed
62 Get().random_generator_.reset(new RNG(seed));
63}
64
65void Caffe::SetDevice(const int device_id) {
66 NO_GPU;

Callers

nothing calls this directly

Calls 2

GetClass · 0.85
resetMethod · 0.45

Tested by

no test coverage detected