Learn R Programming

ruta (version 1.0.2)

layer_keras: Custom layer from Keras

Description

Gets any layer available in Keras with the specified parameters

Usage

layer_keras(name, ...)

Arguments

name

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: dense, dropout, input, output, variational_block