/// <summary>Backpropagates the given error trough the network.</summary> /// <param name="outputErrorArray">The error to be backpropagated.</param> /// <param name="outputErrorSkip">The index of the first entry of the output error 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 to be used.</param> /// <param name="learning">Whether the layer is being used in a learning session.</param> public override void BackPropagate(float[] outputErrorArray, int outputErrorSkip, float[] inputErrorArray, int inputErrorSkip, bool learning) { Backbone.BackpropagateSoftmax(this.Input, this.InputSkip, this.Output, this.OutputSkip, this.Length, outputErrorArray, outputErrorSkip, inputErrorArray, inputErrorSkip, learning); }