Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. optimizer = torch.optim.Adam(model.parameters(), lr=0.001)
  2. loss_function = nn.CrossEntropyLoss()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement