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