stack_layers: Stacks a keras layer on top of existing model

View source: R/stack_layers.R

stack_layersR Documentation

Stacks a keras layer on top of existing model

Description

User friendly interface to add a keras layer on top of existing model.

Usage

stack_layers(object, ...)

Arguments

object

a list containing a model returned by create_model().

...

functions for adding layers by using functional keras API. For example, keras::layer_dense(units=32, activation="relu").

Value

a list containing an adapted Transformer model.


processpredictR documentation built on Jan. 18, 2023, 1:09 a.m.