punctuator
punctuator copied to clipboard
_backpropagate() how to compute CrossEntropy?
In _backpropagate() function,I saw that there 's only dE_dz_y[range(len(output_word_index)), output_word_index] -= 1.
. I have no idea that how you get the CrossEntropy, and is this a trick for backpropagating?