org.platanios.tensorflow.api.ops.seq2seq.decoders
RNN decoder helper to be used while performing inference.
RNN decoder helper to be used while performing inference. It uses the argmax over the RNN output logits and passes the result through an embedding layer to get the next input.
Function that takes an INT32
vector of IDs and returns the corresponding embedded values
that will be passed to the decoder input.
INT32
vector with length equal to the batch size, which contains the begin-of-sequence
token IDs.
INT32
scalar containing the end-of-sequence token ID (i.e., token ID which marks the end of
decoding).
Interface for implementing sampling helpers in sequence-to-sequence decoders.
RNN decoder helper to be used while training.
RNN decoder helper to be used while training. It only reads inputs and the returned sample indexes are the argmax over the RNN output logits.