Esempio n. 1
0
 internal Layer(int inputWidth, int width, ActivationType activationType, Random random)
 {
     activationFunction = new Activation(activationType);
     Build(inputWidth, width, random);
 }
Esempio n. 2
0
 internal Layer(int inputWidth, int width, ActivationType activationType, double?init = null)
 {
     activationFunction = new Activation(activationType);
     Build(inputWidth, width, init ?? 0);
 }