Skip to content

Instantly share code, notes, and snippets.

@albertlai431
Created December 4, 2018 00:32
Show Gist options
  • Save albertlai431/d6c00058107c9e38c7e19372f36c22fd to your computer and use it in GitHub Desktop.
Save albertlai431/d6c00058107c9e38c7e19372f36c22fd to your computer and use it in GitHub Desktop.
Instance of Loss
#Create instance of loss
criterion = nn.CrossEntropyLoss()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment