Skip to content

Commit c54c772

Browse files
author
Ji Chen
committed
update docstring
1 parent 86afb1e commit c54c772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchaudio/models/_wavernn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def forward(self, specgram: Tensor) -> Tensor:
9191

9292

9393
class _Stretch2d(nn.Module):
94-
r"""Stretch layer upscales the frequency and time dimensions of spectrogram.
94+
r"""Stretch layer upscales the frequency and time dimensions of a spectrogram.
9595
9696
Args:
9797
time_scale: the scale factor in time dimension
@@ -125,7 +125,7 @@ def forward(self, specgram: Tensor) -> Tensor:
125125

126126

127127
class _UpsampleNetwork(nn.Module):
128-
r"""Upsample block upscales the dimensions of spectrogram to match waveform.
128+
r"""Upsample block upscales the dimensions of a spectrogram to match waveform.
129129
130130
Args:
131131
upsample_scales: the list of upsample scales

0 commit comments

Comments
 (0)