10 #include <autogradpp/autograd.h> 11 #include <gflags/gflags.h> 13 DECLARE_string(optim);
15 DECLARE_double(weight_decay);
16 DECLARE_double(momentum);
17 DECLARE_double(optim_eps);
20 DECLARE_double(adadgrad_lr_decay);
23 DECLARE_double(adam_beta1);
24 DECLARE_double(adam_beta2);
25 DECLARE_bool(adam_amsgrad);
28 DECLARE_double(rmsprop_alpha);
29 DECLARE_bool(rmsprop_centered);
32 DECLARE_double(sgd_dampening);
33 DECLARE_bool(sgd_nesterov);
The TorchCraftAI training library.
Definition: batcher.cpp:15
std::map< std::string, std::string > optimizerFlags()
Definition: optimizers.cpp:76
ag::Optimizer selectOptimizer(std::shared_ptr< torch::nn::Module > module)
Definition: optimizers.cpp:35