decoder_base {tfaddons}R Documentation

Base Decoder

Description

An RNN Decoder that is based on a Keras layer.

Usage

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


[Package tfaddons version 0.10.0 Index]