layer_keras: Custom layer from Keras

View source: R/layers.R

layer_kerasR Documentation

Custom layer from Keras

Description

Gets any layer available in Keras with the specified parameters

Usage

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()


ruta documentation built on Jan. 9, 2023, 1:20 a.m.