View source: R/approach_vaeac.R
vaeac_get_optimizer | R Documentation |
vaeac
Only torch::optim_adam()
is currently supported. But it is easy to add an additional option later.
vaeac_get_optimizer(vaeac_model, lr, optimizer_name = "adam")
vaeac_model |
A |
lr |
Positive numeric (default is |
optimizer_name |
String containing the name of the |
A torch::optim_adam()
optimizer connected to the parameters of the vaeac_model
.
Lars Henry Berge Olsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.