contrib.seq2seq.BeamSearchDecoderState

tf.contrib.seq2seq.BeamSearchDecoderState

class tf.contrib.seq2seq.BeamSearchDecoderState

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

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)

© 2017 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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部