W3cubDocs

/TensorFlow Python

tf.contrib.seq2seq.BeamSearchDecoderOutput

Class BeamSearchDecoderOutput

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

BeamSearchDecoderOutput(scores, predicted_ids, parent_ids)

Properties

parent_ids

Alias for field number 2

predicted_ids

Alias for field number 1

scores

Alias for field number 0

Methods

__new__

__new__(
    _cls,
    scores,
    predicted_ids,
    parent_ids
)

Create new instance of BeamSearchDecoderOutput(scores, predicted_ids, parent_ids)

© 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/BeamSearchDecoderOutput