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

Function caffe_rng

rtpose_wrapper/include/caffe/util/rng.hpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14typedef boost::mt19937 rng_t;
15
16inline rng_t* caffe_rng() {
17 return static_cast<caffe::rng_t*>(Caffe::rng_stream().generator());
18}
19
20// Fisher–Yates algorithm
21template <class RandomAccessIterator, class RandomGenerator>

Callers 5

caffe_rng_randFunction · 0.85
caffe_rng_uniformFunction · 0.85
caffe_rng_gaussianFunction · 0.85
caffe_rng_bernoulliFunction · 0.85
shuffleFunction · 0.85

Calls 1

generatorMethod · 0.80

Tested by

no test coverage detected