Learn R Programming

ruta (version 1.2.0)

layer_keras: Custom layer from Keras

Description

Gets any layer available in Keras with the specified parameters

Usage

layer_keras(type, ...)

Value

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

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

See Also

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