Skip to content

Commit 099d788

Browse files
authored
Add subcategories to functional documentation (#1327)
1 parent e1e7cfd commit 099d788

File tree

1 file changed

+80
-68
lines changed

1 file changed

+80
-68
lines changed

docs/source/functional.rst

Lines changed: 80 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,75 @@ torchaudio.functional
88

99
Functions to perform common audio operations.
1010

11+
:hidden:`Utility`
12+
~~~~~~~~~~~~~~~~~
13+
14+
amplitude_to_DB
15+
---------------
16+
17+
.. autofunction:: amplitude_to_DB
18+
19+
DB_to_amplitude
20+
---------------
21+
22+
.. autofunction:: DB_to_amplitude
23+
24+
create_fb_matrix
25+
----------------
26+
27+
.. autofunction:: create_fb_matrix
28+
29+
create_dct
30+
----------
31+
32+
.. autofunction:: create_dct
33+
34+
mask_along_axis
35+
---------------
36+
37+
.. autofunction:: mask_along_axis
38+
39+
mask_along_axis_iid
40+
-------------------
41+
42+
.. autofunction:: mask_along_axis_iid
43+
44+
mu_law_encoding
45+
---------------
46+
47+
.. autofunction:: mu_law_encoding
48+
49+
mu_law_decoding
50+
---------------
51+
52+
.. autofunction:: mu_law_decoding
53+
54+
apply_codec
55+
-----------
56+
57+
.. autofunction:: apply_codec
58+
59+
:hidden:`Complex Utility`
60+
~~~~~~~~~~~~~~~~~~~~~~~~~
61+
62+
Utilities for pseudo complex tensor. This is not for the native complex dtype, such as `cfloat64`, but for tensors with real-value type and have extra dimension at the end for real and imaginary parts.
63+
64+
angle
65+
-----
66+
67+
.. autofunction:: angle
68+
69+
complex_norm
70+
------------
71+
72+
.. autofunction:: complex_norm
73+
74+
75+
magphase
76+
--------
77+
78+
.. autofunction:: magphase
79+
1180
:hidden:`Filtering`
1281
~~~~~~~~~~~~~~~~~~~
1382

@@ -117,104 +186,47 @@ treble_biquad
117186
vad
118187
---
119188

189+
:hidden:`Feature Extractions`
190+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191+
120192
.. autofunction:: vad
121193

122194
:hidden:`spectrogram`
123-
~~~~~~~~~~~~~~~~~~~~~
195+
---------------------
124196

125197
.. autofunction:: spectrogram
126198

127199
:hidden:`griffinlim`
128-
~~~~~~~~~~~~~~~~~~~~~~~~~
200+
--------------------
129201

130202
.. autofunction:: griffinlim
131203

132-
:hidden:`amplitude_to_DB`
133-
~~~~~~~~~~~~~~~~~~~~~~~~~
134-
135-
.. autofunction:: amplitude_to_DB
136-
137-
:hidden:`DB_to_amplitude`
138-
~~~~~~~~~~~~~~~~~~~~~~~~~
139-
140-
.. autofunction:: DB_to_amplitude
141-
142-
:hidden:`create_fb_matrix`
143-
~~~~~~~~~~~~~~~~~~~~~~~~~~
144-
145-
.. autofunction:: create_fb_matrix
146-
147-
:hidden:`create_dct`
148-
~~~~~~~~~~~~~~~~~~~~
149-
150-
.. autofunction:: create_dct
151-
152-
:hidden:`mu_law_encoding`
153-
~~~~~~~~~~~~~~~~~~~~~~~~~
154-
155-
.. autofunction:: mu_law_encoding
156-
157-
:hidden:`mu_law_decoding`
158-
~~~~~~~~~~~~~~~~~~~~~~~~~
159-
160-
.. autofunction:: mu_law_decoding
161-
162-
:hidden:`complex_norm`
163-
~~~~~~~~~~~~~~~~~~~~~~
164-
165-
.. autofunction:: complex_norm
166-
167-
:hidden:`angle`
168-
~~~~~~~~~~~~~~~
169-
170-
.. autofunction:: angle
171-
172-
:hidden:`magphase`
173-
~~~~~~~~~~~~~~~~~~
174-
175-
.. autofunction:: magphase
176-
177204
:hidden:`phase_vocoder`
178-
~~~~~~~~~~~~~~~~~~~~~~~
205+
-----------------------
179206

180207
.. autofunction:: phase_vocoder
181208

182-
:hidden:`mask_along_axis`
183-
~~~~~~~~~~~~~~~~~~~~~~~~~
184-
185-
.. autofunction:: mask_along_axis
186-
187-
:hidden:`mask_along_axis_iid`
188-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
189-
190-
.. autofunction:: mask_along_axis_iid
191-
192209
:hidden:`compute_deltas`
193-
~~~~~~~~~~~~~~~~~~~~~~~~
210+
------------------------
194211

195212
.. autofunction:: compute_deltas
196213

197214
:hidden:`detect_pitch_frequency`
198-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215+
--------------------------------
199216

200217
.. autofunction:: detect_pitch_frequency
201218

202219
:hidden:`sliding_window_cmn`
203-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220+
----------------------------
204221

205222
.. autofunction:: sliding_window_cmn
206223

207224
:hidden:`compute_kaldi_pitch`
208-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225+
-----------------------------
209226

210227
.. autofunction:: compute_kaldi_pitch
211228

212229
:hidden:`spectral_centroid`
213-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230+
---------------------------
214231

215232
.. autofunction:: spectral_centroid
216-
217-
:hidden:`apply_codec`
218-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219-
220-
.. autofunction:: apply_codec

0 commit comments

Comments
 (0)