Shortcuts

RNNTBundle.TokenProcessor

class torchaudio.pipelines.RNNTBundle.TokenProcessor

Interface of the token processor part of RNN-T pipeline

__call__

abstract TokenProcessor.__call__(tokens: List[int], **kwargs) str

Decodes given list of tokens to text sequence.

Parameters:

tokens (List[int]) – list of tokens to decode.

Returns:

Decoded text sequence.

Return type:

str

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