Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sanity checks for second order backpropagation #60

Merged
merged 3 commits into from
Apr 27, 2020

Conversation

fKunstner
Copy link
Collaborator

Cleanup of #56 and #55;

  • Raise warning if the loss has been modified beyond the last torch.nn loss module
  • Raise warning if backwardis called on non-scalar quantity
  • Raise exception if CrossEntropy or MSE are used with not-yet-implemented parameters (MSE between vectors, CrossEntropy with ignore_index or weight
  • Add test for expected behavior

@fKunstner fKunstner merged commit 81e418c into development Apr 27, 2020
@fKunstner fKunstner deleted the second-order-losses branch April 27, 2020 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant