Spec-Zone.ru › TensorFlow 1.15

tf.contrib.crf.crf_binary_score

Вычисляет бинарные оценки последовательностей меток.

tf.contrib.crf.crf_binary_score(
    tag_indices, sequence_lengths, transition_params
)
Аргументы
tag_indices Матрица [batch_size, max_seq_len] индексов меток.
sequence_lengths Вектор [batch_size] истинных длин последовательностей.
transition_params Матрица [num_tags, num_tags] бинарных потенциалов.
Возвращает
binary_scores Вектор [batch_size] бинарных оценок.

© 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/crf/crf_binary_score

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API