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