Internal function to create autoencoder objects. Instead, consider using autoencoder.

new_autoencoder(network, loss)

Arguments

network

Layer construct of class "ruta_network"

loss

Character string specifying a loss function

Value

A construct of class "ruta_autoencoder"