|
MiniDNN
|
#include <RNG.h>
Public Member Functions | |
| RNG (unsigned long init_seed) | |
| virtual void | seed (unsigned long seed) |
| virtual double | rand () |
The interface and default implementation of the random number generator (RNG). The RNG is used to shuffle data and to initialize parameters of hidden layers. This default implementation is based on the public domain code by Ray Gardner http://stjarnhimlen.se/snippets/rg_rand.c.