Skip to content

Instantly share code, notes, and snippets.

@jaymody
Last active December 9, 2022 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaymody/04a98633d53a4d140e46060edfc22bf3 to your computer and use it in GitHub Desktop.
Save jaymody/04a98633d53a4d140e46060edfc22bf3 to your computer and use it in GitHub Desktop.
Quick notebook that shows that `nll_loss`, `cross_entropy`, and `kl_div` are equivalent loss functions for categorical data.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment