Internal function to create autoencoder objects. Instead, consider using
\link{autoencoder}
.
new_autoencoder(network, loss, extra_class = NULL)
Layer construct of class "ruta_network"
or coercible
A "ruta_loss"
object or a character string specifying a loss function
Vector of classes in case this autoencoder needs to support custom
methods (for to_keras
, train
, generate
or others)
A construct of class "ruta_autoencoder"