Gets any layer available in Keras with the specified parameters

layer_keras(type, ...)

Arguments

type

The name of the layer, e.g. "activity_regularization" for a keras::layer_activity_regularization object

...

Named parameters for the Keras layer constructor

Value

A wrapper for the specified layer, which can be combined with other Ruta layers

See also

Other neural layers: conv(), dense(), dropout(), input(), output(), variational_block()