- 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:
2019-10-29 07:02:45 +00:00
parent 2ac8d27e75
commit 756c4d8670
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -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)