Generic function which uses the Keras API to build objects out of Ruta wrappers

to_keras(x, ...)

Arguments

x

Object to be converted

...

Remaining parameters depending on the method