Esempio n. 1
0
 /// <summary>
 /// Link the whole network forward starting from this layer.
 /// </summary>
 /// <param name="selfLink">True if all the layers shall be self linked.</param>
 public void RecursiveCrossLinkForward(bool selfLink)
 {
     if (selfLink)
     {
         CrossLinkLayer();
     }
     if (_targetLayer != null)
     {
         CrossLinkForward();
         _targetLayer.RecursiveCrossLinkForward(selfLink);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Link all layers in feedforward style.
 /// </summary>
 public void AutoLinkFeedforward()
 {
     _inputLayer.RecursiveCrossLinkForward(false);
 }