Пример #1
0
 /// <summary>
 /// Batch. Publish all analyzed pattern data.
 /// </summary>
 public void RecursiveBatchPublishGradient()
 {
     for (int i = 0; i < Count; i++)
     {
         this[i].BatchPublishGradient();
     }
     if (_sourceLayer != null)
     {
         _sourceLayer.RecursiveBatchPublishGradient();
     }
 }
Пример #2
0
 /// <summary>
 /// Optimize the synapses for all analyzed patterns (batch).
 /// </summary>
 public void BatchOptimizePatterns()
 {
     _lastLayer.RecursiveBatchPublishGradient();
     _lastLayer.RecursiveBatchOptimizeWeights();
 }