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 scores
Score of each translation hypothesis (empty if
return_scores
was disabled).