I wrote it to find the gradient of the input y data (label).
In this case, the gradient between the output obtained by the softmax function in the last layer (named E) and the input label is calculated.