Shortcuts

TokenSpan

class torchaudio.functional.TokenSpan[source]

Token with time stamps and score. Returned by merge_tokens().

Tutorials using TokenSpan:
CTC forced alignment API tutorial

CTC forced alignment API tutorial

CTC forced alignment API tutorial
token: int

The token

start: int

The start time (inclusive) in emission time axis.

end: int

The end time (exclusive) in emission time axis.

score: float

The score of the this token.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources