Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AdamOptions initialization error with latest libtorch. Error without this change: ``` dcgan.cpp:124:64: error: no member named 'beta1' in 'torch::optim::AdamOptions' generator->parameters(), torch::optim::AdamOptions(2e-4).beta1(0.5)); ```
- Loading branch information