R/autoencoder_variational.R
to_keras.ruta_layer_variational.Rd
This block contains two dense layers representing the mean and log var of a Gaussian distribution and a sampling layer.
# S3 method for ruta_layer_variational
to_keras(x, input_shape, model = keras::keras_model_sequential(), ...)
The layer object
Number of features in training data
Keras model where the layers will be added
Unused
A Layer object from Keras