protected Network ( int inputsCount, int layersCount ) : System | ||
inputsCount | int | Network's inputs count. |
layersCount | int | Network's layers count. |
리턴 | System |
protected Network(int inputsCount, int layersCount)
{
this.inputsCount = Math.Max(1, inputsCount);
this.layersCount = Math.Max(1, layersCount);
// create collection of layers
this.layers = new Layer[this.layersCount];
}