Skip to content

Commit eccfa14

Browse files
Fix typo and formatting issue (pytorch#1598)
Co-authored-by: Holly Sweeney <[email protected]>
1 parent 4fb967e commit eccfa14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

beginner_source/audio_preprocessing_tutorial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,15 +442,15 @@ def benchmark_resample(
442442
# - ``"OPUS"``: Opus [`opus-codec.org <https://opus-codec.org/>`__]
443443
# - ``"GSM"``: GSM-FR
444444
# [`wikipedia <https://en.wikipedia.org/wiki/Full_Rate>`__]
445-
# - ``"UNKNOWN"`` None of avobe
445+
# - ``"UNKNOWN"`` None of above
446446
#
447447

448448

449449
######################################################################
450450
# **Note**
451451
#
452452
# - ``bits_per_sample`` can be ``0`` for formats with compression and/or
453-
# variable bit rate. (such as mp3)
453+
# variable bit rate (such as mp3).
454454
# - ``num_frames`` can be ``0`` for GSM-FR format.
455455
#
456456

@@ -859,6 +859,7 @@ def benchmark_resample(
859859
# in ``torchaudio``.
860860
#
861861
# To elaborate on the results:
862+
#
862863
# - a larger ``lowpass_filter_width`` results in a larger resampling kernel,
863864
# and therefore increases computation time for both the kernel computation
864865
# and convolution

0 commit comments

Comments
 (0)