Skip to content

Instantly share code, notes, and snippets.

@rafalpronko
Created February 11, 2019 05:52
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 rafalpronko/21f03f338daecf29b735670e57a8ee63 to your computer and use it in GitHub Desktop.
Save rafalpronko/21f03f338daecf29b735670e57a8ee63 to your computer and use it in GitHub Desktop.
modelpy = NeuralNet(10)
criterion = nn.CrossEntropyLoss()
optim = torch.optim.Adam(modelpy.parameters())
modelpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment