/// <summary> /// Batch. Analyze the current pattern. /// </summary> public void RecursiveBatchEvaluateGradient() { if (_training != null) { for (int i = 0; i < Count && i < _training.Length; i++) { this[i].CurrentTraining = _training[i]; } } for (int i = 0; i < Count; i++) { this[i].BatchEvaluateGradient(); } if (_sourceLayer != null) { _sourceLayer.RecursiveBatchEvaluateGradient(); } }
/// <summary> /// Analyze the current pattern for batch processing. /// </summary> public void BatchAnalyzeCurrentPattern() { _lastLayer.RecursiveBatchEvaluateGradient(); }