create_wrapper: Create a Keras Wrapper

Description Usage Arguments Value Note

View source: R/wrapper_custom.R

Description

Create a Keras Wrapper

Usage

1
create_wrapper(wrapper_class, object, args = list())

Arguments

wrapper_class

R6 class of type KerasWrapper

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 wrapper

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.