Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangjeff committed Apr 8, 2022
1 parent f49325f commit 490a981
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/prototype.models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
torchaudio.prototype.models
===========================

.. py:module:: torchaudio.prototype.models
.. currentmodule:: torchaudio.prototype.models

conformer_rnnt_base
~~~~~~~~~~~~~~~~~~~

.. autofunction:: conformer_rnnt_base

1 change: 1 addition & 0 deletions docs/source/prototype.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ imported explicitly, e.g.
.. toctree::
prototype.io
prototype.ctc_decoder
prototype.models
prototype.pipelines
6 changes: 6 additions & 0 deletions torchaudio/prototype/models/rnnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ def infer(


def conformer_rnnt_base():
r"""Builds basic version of Conformer RNN-T model.
Returns:
RNNT:
Conformer RNN-T model.
"""
encoder = _ConformerTranscriber()
decoder = _Predictor(
num_symbols=1024,
Expand Down

0 comments on commit 490a981

Please sign in to comment.