MiniDNN
MiniDNN::RNG Class Reference

#include <RNG.h>

Public Member Functions

 RNG (unsigned long init_seed)
 
virtual void seed (unsigned long seed)
 
virtual double rand ()
 

Detailed Description

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.

Definition at line 13 of file RNG.h.


The documentation for this class was generated from the following file: