An RNN Decoder that is based on a Keras layer.

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