espnet.nets.beam_search_partially_AR.Hypothesis
Less than 1 minute
espnet.nets.beam_search_partially_AR.Hypothesis
class espnet.nets.beam_search_partially_AR.Hypothesis(yseq: Tensor, score: float | Tensor = 0, scores: Dict[str, float | Tensor] = {}, states: Dict[str, Any] = {})
Bases: NamedTuple
Hypothesis data type.
Create new instance of Hypothesis(yseq, score, scores, states)
asdict() → dict
Convert data to JSON-friendly dict.
score : float | Tensor
Alias for field number 1
scores : Dict[str, float | Tensor]
Alias for field number 2
states : Dict[str, Any]
Alias for field number 3
yseq : Tensor
Alias for field number 0