Example #1
0
 public void resetBiases(IRandomVariable rv)
 {
     for (int j = 0; j < outputs; j++)
     {
         biases[j] = rv.next();
     }
 }
Example #2
0
 public void resetWeights(IRandomVariable rv)
 {
     for (int i = 0; i < inputs; i++)
     {
         for (int j = 0; j < outputs; j++)
         {
             weights[j, i] = rv.next();
         }
     }
 }