models.rst 1.32 KB
Newer Older
Tomás Osório's avatar
Tomás Osório committed
1
2
3
4
.. role:: hidden
    :class: hidden-section

torchaudio.models
moto's avatar
moto committed
5
=================
Tomás Osório's avatar
Tomás Osório committed
6
7
8
9
10
11

.. currentmodule:: torchaudio.models

The models subpackage contains definitions of models for addressing common audio tasks.


moto's avatar
moto committed
12
13
ConvTasNet
~~~~~~~~~~
moto's avatar
moto committed
14
15
16
17
18
19

.. autoclass:: ConvTasNet

  .. automethod:: forward


moto's avatar
moto committed
20
21
DeepSpeech
~~~~~~~~~~
discort's avatar
discort committed
22
23
24
25
26
27

.. autoclass:: DeepSpeech

  .. automethod:: forward


moto's avatar
moto committed
28
29
Wav2Letter
~~~~~~~~~~
Tomás Osório's avatar
Tomás Osório committed
30
31
32
33

.. autoclass:: Wav2Letter

  .. automethod:: forward
jimchen90's avatar
jimchen90 committed
34
35


moto's avatar
moto committed
36

moto's avatar
moto committed
37
38
Wav2Vec2.0
~~~~~~~~~~
moto's avatar
moto committed
39

moto's avatar
moto committed
40
41
Wav2Vec2Model
-------------
moto's avatar
moto committed
42
43
44
45
46
47
48
49
50
51

.. autoclass:: Wav2Vec2Model

  .. automethod:: extract_features

  .. automethod:: forward

Factory Functions
-----------------

moto's avatar
moto committed
52
53
54
wav2vec2_base
-------------

moto's avatar
moto committed
55
56
.. autofunction:: wav2vec2_base

moto's avatar
moto committed
57
58
59
wav2vec2_large
--------------

moto's avatar
moto committed
60
61
.. autofunction:: wav2vec2_large

moto's avatar
moto committed
62
63
64
wav2vec2_large_lv60k
--------------------

moto's avatar
moto committed
65
66
.. autofunction:: wav2vec2_large_lv60k

67
68
69
70
71
.. currentmodule:: torchaudio.models.wav2vec2.utils

Utility Functions
-----------------

moto's avatar
moto committed
72
73
74
import_huggingface_model
------------------------
		   
75
76
.. autofunction:: import_huggingface_model

moto's avatar
moto committed
77
78
79
import_fairseq_model
--------------------
		   
moto's avatar
moto committed
80
81
.. autofunction:: import_fairseq_model

82
.. currentmodule:: torchaudio.models
moto's avatar
moto committed
83

moto's avatar
moto committed
84
85
WaveRNN
~~~~~~~
jimchen90's avatar
jimchen90 committed
86
87
88
89

.. autoclass:: WaveRNN

  .. automethod:: forward
moto's avatar
moto committed
90

91
92
93
94
95
96
97
98
Factory Functions
-----------------

wavernn
-------

.. autofunction:: wavernn

moto's avatar
moto committed
99
100
101
102
References
~~~~~~~~~~

.. footbibliography::