W3cubDocs

/TensorFlow Python

tf.contrib.seq2seq.BeamSearchDecoderState

Class BeamSearchDecoderState

Defined in tensorflow/contrib/seq2seq/python/ops/beam_search_decoder.py.

BeamSearchDecoderState(cell_state, log_probs, finished, lengths)

Properties

cell_state

Alias for field number 0

finished

Alias for field number 2

lengths

Alias for field number 3

log_probs

Alias for field number 1

Methods

__new__

__new__(
    _cls,
    cell_state,
    log_probs,
    finished,
    lengths
)

Create new instance of BeamSearchDecoderState(cell_state, log_probs, finished, lengths)

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/seq2seq/BeamSearchDecoderState