TranslationResult
- class ctranslate2.TranslationResult
A translation result.
Inherits from:
pybind11_builtins.pybind11_object
Attributes:
- property attention
Attention matrix of each translation hypothesis (empty if
return_attention
was disabled).
- property hypotheses
Translation hypotheses.
- property logits
Logits of each translation hypothesis (empty if
return_logits_vocab
was disabled).
- property scores
Score of each translation hypothesis (empty if
return_scores
was disabled).