create_layer.RdCreate a Keras Layer
create_layer(layer_class, object, args = list())
| layer_class | Python layer class or R6 class of type KerasLayer |
|---|---|
| object | Object to compose layer with. This is either a
|
| args | List of arguments to layer constructor function |
A Keras layer
The object parameter can be missing, in which case the
layer is created without a connection to an existing graph.