Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Last active March 18, 2024 06:05
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save yang-zhang/217dcc6ae9171d7a46ce42e215c1fee0 to your computer and use it in GitHub Desktop.
Save yang-zhang/217dcc6ae9171d7a46ce42e215c1fee0 to your computer and use it in GitHub Desktop.
Cross entropy implementation in pytorch
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