protected Layer ( int neuronsCount, int inputsCount ) : System | ||
neuronsCount | int | Layer's neurons count. |
inputsCount | int | Layer's inputs count. |
return | System |
protected Layer( int neuronsCount, int inputsCount )
{
this.inputsCount = Math.Max( 1, inputsCount );
this.neuronsCount = Math.Max( 1, neuronsCount );
// create collection of neurons
neurons = new Neuron[this.neuronsCount];
}