Learn R Programming

keras (version 2.13.0)

create_layer: Create a Keras Layer

Description

Create a Keras Layer

Usage

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

Value

A Keras layer

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