Skip to content

Commit ab18827

Browse files
Remove prototype files (#4048)
1 parent 20378a7 commit ab18827

33 files changed

+2
-5763
lines changed

docs/source/_templates/autosummary/model_class.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -147,25 +147,6 @@ Factory Functions
147147
148148
{%- if prototype_factory[fullname] %}
149149

150-
Prototype Factory Functions
151-
===========================
152-
153-
.. currentmodule:: torchaudio.prototype.models
154-
155-
.. autosummary::
156-
:toctree: ../generated
157-
:nosignatures:
158-
159-
{% for item in prototype_factory[fullname] %}
160-
{{["~torchaudio.prototype.models", item] | join('.')}}
161-
{%- endfor %}
162-
163-
{%- endif %}
164-
165-
.. UTILITY FUNCTIONS
166-
167-
{%- if utils[fullname] %}
168-
169150
Utility Functions
170151
=================
171152

docs/source/_templates/autosummary/prototype_model_class.rst

Lines changed: 0 additions & 90 deletions
This file was deleted.

docs/source/index.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,6 @@ model implementations and application components.
113113
torio.io
114114
torio.utils
115115

116-
.. toctree::
117-
:maxdepth: 1
118-
:caption: Python Prototype API Reference
119-
:hidden:
120-
121-
prototype
122-
prototype.datasets
123-
prototype.functional
124-
prototype.models
125-
prototype.pipelines
126-
prototype.transforms
127-
128116
.. toctree::
129117
:maxdepth: 1
130118
:caption: C++ Prototype API Reference

docs/source/prototype.datasets.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/source/prototype.functional.rst

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/source/prototype.models.rst

Lines changed: 0 additions & 44 deletions
This file was deleted.

docs/source/prototype.pipelines.rst

Lines changed: 0 additions & 77 deletions
This file was deleted.

docs/source/prototype.rst

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/source/prototype.transforms.rst

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/torchaudio/models/squim/objective.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def squim_objective_model(
285285
chunk_size: int,
286286
chunk_stride: Optional[int] = None,
287287
) -> SquimObjective:
288-
"""Build a custome :class:`torchaudio.prototype.models.SquimObjective` model.
288+
"""Build a custome :class:`torchaudio.models.squim.SquimObjective` model.
289289
290290
Args:
291291
feat_dim (int, optional): The feature dimension after Encoder module.
@@ -313,7 +313,7 @@ def squim_objective_model(
313313

314314

315315
def squim_objective_base() -> SquimObjective:
316-
"""Build :class:`torchaudio.prototype.models.SquimObjective` model with default arguments."""
316+
"""Build :class:`torchaudio.models.squim.SquimObjective` model with default arguments."""
317317
return squim_objective_model(
318318
feat_dim=256,
319319
win_len=64,

0 commit comments

Comments
 (0)