Skip to content

_backpropagate() how to compute CrossEntropy? #12

Description

@yuboona

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions