Created
December 4, 2018 00:33
-
-
Save albertlai431/708e096b1f0caab3a035ce6789aeb0fc to your computer and use it in GitHub Desktop.
Instance of Optimizer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create instance of optimizer (Adam) | |
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment