public GrossbergLayer(ActivationFunction function, int neuronsCount, int inputsCount, ActivationFunction activationFunction)
     : base(neuronsCount, inputsCount, activationFunction)
 {
     // create each neuron
     for (int i = 0; i < neuronsCount; i++)
         neurons[i] = new ActivationNeuron(inputsCount, function);
 }
 public ActivationLayer( int neuronsCount, int inputsCount, ActivationFunction function )
     : base(neuronsCount, inputsCount)
 {
     for ( int i = 0; i < neuronsCount; i++ )
         neurons[i] = new ActivationNeuron( inputsCount, function );
 }