public void ApplyLearning()
 {
     lock (this)
     {
         m_hiddenLayer.ApplyLearning(this);
         m_outputLayer.ApplyLearning(this);
     }
 }
 private void applyLearning()
 {
     lock (this)
     {
         foreach (var hiddenLayer in _hiddenLayers)
         {
             hiddenLayer.ApplyLearning(this);
         }
         _outputLayer.ApplyLearning(this);
     }
 }