Build a Keras network

# S3 method for ruta_network
to_keras(x, input_shape)

Arguments

x

A "ruta_network" object

input_shape

The length of each input vector (number of input attributes)

Value

A list of Keras Tensor objects with an attribute "encoding" indicating the index of the encoding layer