Created
June 8, 2019 20:05
-
-
Save vaibhavkumar049/5c0e76724cb8062123da963420cf0ed9 to your computer and use it in GitHub Desktop.
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
fn = FirstNetwork_v2() | |
loss_fn = F.cross_entropy | |
opt = optim.SGD(fn.parameters(), lr=1) | |
fit_v2(X_train, Y_train, fn, opt, loss_fn) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment