duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| # Special thanks to Kyle McDonald, this is based on his example | |
| # https://gist.github.com/kylemcdonald/2d06dc736789f0b329e11d504e8dee9f | |
| # Thanks to Laurent Dinh for examples of parameter saving/loading in PyTorch | |
| # Thanks to Sean Robertson for https://github.com/spro/practical-pytorch | |
| from tqdm import tqdm | |
| from torch.autograd import Variable | |
| import torch.nn as nn | |
| import torch |
| // Dagger 1 example | |
| @Module( | |
| complete = false, | |
| library = true | |
| ) | |
| public final class ApiModule { | |
| @Provides | |
| @Singleton | |
| Retrofit provideRetrofit(Gson gson, Application app) { | |
| return new Retrofit.Builder() |
| /** | |
| * A collection of authentication and account connection utilities. With strong inspiration from the Google IO session | |
| * app. | |
| * @author Dandré Allison | |
| */ | |
| public class AccountUtils { | |
| /** | |
| * Interface for interacting with the result of {@link AccountUtils#getUserProfile}. | |
| */ |