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