/// <summary>Backpropagates the layer.</summary> /// <param name="outputErrorArray">The output error of the layer.</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 layer to be used.</param> /// <param name="learning">Whether the layer is being used in a learning session.</param> public virtual void BackPropagate(float[] outputErrorArray, int outputErrorSkip, float[] inputErrorArray, int inputErrorSkip, bool learning) { Backbone.BackpropagateNeuronsString(this.input, this.inputSkip, this.output, this.outputSkip, this.length, outputErrorArray, outputErrorSkip, inputErrorArray, inputErrorSkip, this.ActivationDerivative, learning); }