Esempio n. 1
0
 /// <summary>Backpropagates the given error trough the layer.</summary>
 /// <param name="outputErrorArray">The output error to be backpropagated.</param>
 /// <param name="outputErrorSkip">The index of the first entry of the output error array to be used.</param>
 /// <param name="inputErrorArray">The array to be written the input error into.</param>
 /// <param name="inputErrorSkip">The index of the first entry of the input error array to be used.</param>
 /// <param name="learning">Whether the layer is being used in a training session.</param>
 public override void BackPropagate(float[] outputErrorArray, int outputErrorSkip, float[] inputErrorArray, int inputErrorSkip, bool learning)
 {
     Backbone.BackpropagateDropout(this.Input, this.InputSkip, this.Output, this.OutputSkip, this.Length, this.dropped, this.DropChance, learning, outputErrorArray, outputErrorSkip, inputErrorArray, inputErrorSkip);
 }