tf.contrib.seq2seq.FinalBeamSearchDecoderOutput
Конечные результаты, возвращаемые поиском по лучшим путям после завершения всего декодирования.
tf.contrib.seq2seq.FinalBeamSearchDecoderOutput(
predicted_ids, beam_search_decoder_output
)
| Аргументы | |
|---|---|
predicted_ids | Конечное предсказание. Тензор формы [batch_size, T, beam_width] (или [T, batch_size, beam_width] если output_time_major равно True). Лучшие пути упорядочены от лучшего к худшему. |
beam_search_decoder_output | Экземпляр BeamSearchDecoderOutput, описывающий состояние поиска по лучшим путям. |
| Атрибуты | |
|---|---|
predicted_ids | |
beam_search_decoder_output | |
© 2020 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/versions/r1.15/api_docs/python/tf/contrib/seq2seq/FinalBeamSearchDecoderOutput