Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
Caffe::~Caffe() { }
59
60
void Caffe::set_random_seed(const unsigned int seed) {
61
// RNG seed
62
Get().random_generator_.reset(new RNG(seed));
63
}
64
65
void Caffe::SetDevice(const int device_id) {
66
NO_GPU;
Callers
nothing calls this directly
Calls
2
Get
Class · 0.85
reset
Method · 0.45
Tested by
no test coverage detected