decoder_base: Base Decoder

Description Usage Arguments Value

Description

An RNN Decoder that is based on a Keras layer.

Usage

1
decoder_base(object, cell, sampler, output_layer = NULL, ...)

Arguments

object

Model or layer object

cell

An RNNCell instance.

sampler

A Sampler instance.

output_layer

(Optional) An instance of tf$layers$Layer, i.e., tf$layers$Dense. Optional layer to apply to the RNN output prior to storing the result or sampling.

...

Other keyword arguments for layer creation.

Value

None


tfaddons documentation built on July 2, 2020, 2:12 a.m.