public NetworkLayer(int neuronCount, NetworkLayer prev)
     : this(neuronCount)
 {
     Prev = prev;
     InitRandomWeights(neuronCount, prev.NeuronCount);
 }
 private void InitLayers()
 {
     _inLayer = new NetworkLayer(_inputLength, _inputLength);
     var hidden = new NetworkLayer(5, _inLayer);
     var hidden1 = new NetworkLayer(8, hidden);
     var hidden2 = new NetworkLayer(5, hidden1);
     _outLayer = new NetworkLayer(_outputLength, hidden2);
 }