vaeac_get_optimizer function

Function to create the optimizer used to train vaeac