espnet.nets.transducer_decoder_interface.Hypothesis
Less than 1 minute
espnet.nets.transducer_decoder_interface.Hypothesis
class espnet.nets.transducer_decoder_interface.Hypothesis(score: float, yseq: List[int], dec_state: Tuple[Tensor, Tensor | None] | List[Tensor | None] | Tensor, lm_state: Dict[str, Any] | List[Any] | None = None)
Bases: object
Default hypothesis definition for Transducer search algorithms.
dec_state : Tuple[Tensor, Tensor | None] | List[Tensor | None] | Tensor
lm_state : Dict[str, Any] | List[Any] = None
score : float
yseq : List[int]