create_layer: Create a Keras Layer

Description Usage Arguments Value Note

View source: R/layers-core.R

Description

Create a Keras Layer

Usage

1
create_layer(layer_class, object, args = list())

Arguments

layer_class

Python layer class or R6 class of type KerasLayer

object

Object to compose layer with. This is either a keras_model_sequential() to add the layer to, or another Layer which this layer will call.

args

List of arguments to layer constructor function

Value

A Keras layer

Note

The object parameter can be missing, in which case the layer is created without a connection to an existing graph.


dfalbel/keras documentation built on Nov. 27, 2019, 8:16 p.m.