- Noise_Init() depoends only on seed
- more detrmistic calls of shuffle() - Shuffle() init weights with uniform noise git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@599 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ double ran0(long *idum)
|
||||
void Noise_Init(noise_gen_t *pObj, long seed)
|
||||
{
|
||||
|
||||
pObj->state = seed ^ clock();
|
||||
pObj->state = seed;
|
||||
}
|
||||
|
||||
void Noise_Free(noise_gen_t *pObj)
|
||||
|
||||
Reference in New Issue
Block a user