org.platanios.tensorflow.api.ops.seq2seq.decoders.BasicDecoder
Scalar INT32
tensor representing the batch size of a tensor returned by sample()
.
Scalar INT32
tensor representing the batch size of a tensor returned by sample()
.
Returns a tuple containing: (i) a scalar BOOLEAN
tensor specifying whether initialization has finished, and
(ii) the next input.
Returns a tuple containing: (i) a scalar BOOLEAN
tensor specifying whether initialization has finished, and
(ii) the next input.
Returns a tuple containing: (i) a scalar BOOLEAN
tensor specifying whether sampling has finished, and
(ii) the next inputs, and (iii) the next state.
Returns a tuple containing: (i) a scalar BOOLEAN
tensor specifying whether sampling has finished, and
(ii) the next inputs, and (iii) the next state.
Returns a sample for the provided time, input, and state.
Returns a sample for the provided time, input, and state.
Returns a zero-valued sample for this helper.
Returns a zero-valued sample for this helper.
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.