torchaudio 2.1.1__cp310-cp310-win_amd64.whl → 2.1.2__cp310-cp310-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of torchaudio might be problematic. Click here for more details.

Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1020,31 +1020,27 @@ class TimeStretch(torch.nn.Module):
1020
1020
  Proposed in *SpecAugment* :cite:`specaugment`.
1021
1021
 
1022
1022
  Args:
1023
- hop_length (int or None, optional): Length of hop between STFT windows. (Default: ``win_length // 2``)
1023
+ hop_length (int or None, optional): Length of hop between STFT windows.
1024
+ (Default: ``n_fft // 2``, where ``n_fft == (n_freq - 1) * 2``)
1024
1025
  n_freq (int, optional): number of filter banks from stft. (Default: ``201``)
1025
1026
  fixed_rate (float or None, optional): rate to speed up or slow down by.
1026
1027
  If None is provided, rate must be passed to the forward method. (Default: ``None``)
1027
1028
 
1029
+ .. note::
1030
+
1031
+ The expected input is raw, complex-valued spectrogram.
1032
+
1028
1033
  Example
1029
- >>> spectrogram = torchaudio.transforms.Spectrogram()
1034
+ >>> spectrogram = torchaudio.transforms.Spectrogram(power=None)
1030
1035
  >>> stretch = torchaudio.transforms.TimeStretch()
1031
1036
  >>>
1032
1037
  >>> original = spectrogram(waveform)
1033
- >>> streched_1_2 = stretch(original, 1.2)
1034
- >>> streched_0_9 = stretch(original, 0.9)
1035
-
1036
- .. image:: https://download.pytorch.org/torchaudio/doc-assets/specaugment_time_stretch_1.png
1037
- :width: 600
1038
- :alt: Spectrogram streched by 1.2
1038
+ >>> stretched_1_2 = stretch(original, 1.2)
1039
+ >>> stretched_0_9 = stretch(original, 0.9)
1039
1040
 
1040
- .. image:: https://download.pytorch.org/torchaudio/doc-assets/specaugment_time_stretch_2.png
1041
+ .. image:: https://download.pytorch.org/torchaudio/doc-assets/specaugment_time_stretch.png
1041
1042
  :width: 600
1042
- :alt: The original spectrogram
1043
-
1044
- .. image:: https://download.pytorch.org/torchaudio/doc-assets/specaugment_time_stretch_3.png
1045
- :width: 600
1046
- :alt: Spectrogram streched by 0.9
1047
-
1043
+ :alt: The visualization of stretched spectrograms.
1048
1044
  """
1049
1045
  __constants__ = ["fixed_rate"]
1050
1046
 
@@ -1067,8 +1063,8 @@ class TimeStretch(torch.nn.Module):
1067
1063
 
1068
1064
  Returns:
1069
1065
  Tensor:
1070
- Stretched spectrogram. The resulting tensor is of the same dtype as the input
1071
- spectrogram, but the number of frames is changed to ``ceil(num_frame / rate)``.
1066
+ Stretched spectrogram. The resulting tensor is of the corresponding complex dtype
1067
+ as the input spectrogram, and the number of frames is changed to ``ceil(num_frame / rate)``.
1072
1068
  """
1073
1069
  if overriding_rate is None:
1074
1070
  if self.fixed_rate is None:
torchaudio/version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = '2.1.1+cpu'
2
- git_version = '5784206b90d738de888dce4c99b8b46be213f019'
1
+ __version__ = '2.1.2+cpu'
2
+ git_version = 'c4c1957d24b423200fd83591d46066135979a5a8'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torchaudio
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: An audio package for PyTorch
5
5
  Home-page: https://github.com/pytorch/audio
6
6
  Author: Soumith Chintala, David Pollack, Sean Naren, Peter Goldsborough, Moto Hira, Caroline Chen, Jeff Hwang, Zhaoheng Ni, Xiaohui Zhang
@@ -24,7 +24,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
24
24
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
25
  Description-Content-Type: text/markdown
26
26
  License-File: LICENSE
27
- Requires-Dist: torch (==2.1.1)
27
+ Requires-Dist: torch (==2.1.2)
28
28
 
29
29
  torchaudio: an audio library for PyTorch
30
30
  ========================================
@@ -2,7 +2,7 @@ torchaudio/utils/sox_utils.py,sha256=GWP9Kt78RbcPUSqKfb-Mp2oxiA_UpTETVdUMgAEeXVc
2
2
  torchaudio/utils/ffmpeg_utils.py,sha256=HAVKjmTUBlY2OOmjr4JX6VEGqFFJiAvEQT3I-NAYjeU,9245
3
3
  torchaudio/utils/download.py,sha256=QlO5md3u0bUBFTWjZpSBMaMeeqgZKm9LmwzdB5Ip7_c,2971
4
4
  torchaudio/utils/__init__.py,sha256=QHiAo-HbBsZZiSVnVjRyUQoziKeozSYw-3zT1wB0uiA,159
5
- torchaudio/transforms/_transforms.py,sha256=5IAGjPPfX9DLVebXmgVtWC_t8_MdUYXIIRGWIPsjUxE,88914
5
+ torchaudio/transforms/_transforms.py,sha256=p65_ANlPW5lJC971xDMaNWRom01poOaO4euqGyNs7QY,88738
6
6
  torchaudio/transforms/_multi_channel.py,sha256=Musw7dTu25HNjKeIcKHUDuqBmj_GC2e3TaakqJcffW8,22688
7
7
  torchaudio/transforms/__init__.py,sha256=GYkPl29GcVu_QzUfnlw1QnfNsqiqgjtn1ZmfhAAMACo,1345
8
8
  torchaudio/sox_effects/sox_effects.py,sha256=fsFXfFvWUKRgrH_GyavF5c8FQIJnQLLL0I_ryS5zIqM,11361
@@ -43,14 +43,14 @@ torchaudio/models/conv_tasnet.py,sha256=D7Y10sOzLe03gygfN1J5R73SIHkIGVQOkqKQ6Ni3
43
43
  torchaudio/models/conformer.py,sha256=gVrOYeJkPlVaX-4eZpVzNUe_r3k7g1Y6NaaQ8JZP-r4,10361
44
44
  torchaudio/models/_hdemucs.py,sha256=ipAj7965PO_WEZqQwW1om9gQj90UhQOeU6HU3Lpvzwo,39250
45
45
  torchaudio/models/__init__.py,sha256=Gi3UQvxjwTLW9wfKlF42O3Vup70d0bk2x-rZS89ASwI,2080
46
- torchaudio/lib/libtorchaudio_ffmpeg6.pyd,sha256=f6LeA4cweS9MhD0UL4vIwMjCO62VLW5xSkg6Ow8wAeQ,1052160
47
- torchaudio/lib/libtorchaudio_ffmpeg5.pyd,sha256=6YgaftZmTyza0LgqTKebzIfZWJzLJaMEl6Nmi1aM3ww,1052160
48
- torchaudio/lib/libtorchaudio_ffmpeg4.pyd,sha256=sbgw21lTUFqprmtOb5VJ5ow2KuGDL7X9AxHBtg3mnEQ,1051648
49
- torchaudio/lib/libtorchaudio.pyd,sha256=G7iVGV-xRe-Rzvk5qJ75lA7IxvcXI3GauV7fFVY9HF0,951296
50
- torchaudio/lib/_torchaudio_ffmpeg6.pyd,sha256=1nQQf8JQB2bzi4OoEbbm5GZX9qPKQT3OemWI3X58klM,1711104
51
- torchaudio/lib/_torchaudio_ffmpeg5.pyd,sha256=SWCqJK5rwFXfQuMVKDpGPGqmw_fmoV6ClV_Pj2IF8mQ,1711104
52
- torchaudio/lib/_torchaudio_ffmpeg4.pyd,sha256=RmurH81HZebauFkiZWiiK-Sa-DeXaDi-re_i13HKyNM,1711104
53
- torchaudio/lib/_torchaudio.pyd,sha256=hI1_nh2TKmGAETnNyBgo3L1x4Sy1QWjk4VGVNHYg8S4,774144
46
+ torchaudio/lib/libtorchaudio_ffmpeg6.pyd,sha256=o-cbamB5E20BRbpZujmho4Ztf_RK5rSW-BjASkVpQqs,1052160
47
+ torchaudio/lib/libtorchaudio_ffmpeg5.pyd,sha256=kHvwTMikQgcdOgGq1D_ZL1YC1oufpMXVKH118cWUatw,1052160
48
+ torchaudio/lib/libtorchaudio_ffmpeg4.pyd,sha256=NHsPkKpfKM_l2bctv6iq3FQyRNLyKy5_MX26eEAne5s,1051648
49
+ torchaudio/lib/libtorchaudio.pyd,sha256=6XXuxvL7kio6FZJ491wMI5ZS-BKQjaOxtzm2rb6QEa4,951296
50
+ torchaudio/lib/_torchaudio_ffmpeg6.pyd,sha256=y76NHGfe9-9lVqSKuNvAFZw-fTRUgq5ispVs6cYuS2w,1711104
51
+ torchaudio/lib/_torchaudio_ffmpeg5.pyd,sha256=AXTrHKwzyhsYssPGzBAji7SX2TzfWMDn5ehuIap5T6o,1711104
52
+ torchaudio/lib/_torchaudio_ffmpeg4.pyd,sha256=SBNJCrNYNAznI3wQmgc9oM__gEenPC3RlhbyEOfzlTs,1711104
53
+ torchaudio/lib/_torchaudio.pyd,sha256=vqXTy4QbBItZZmy3LCnD7yBVbZQDlvDYgxaNdzybvbQ,774144
54
54
  torchaudio/io/_stream_writer.py,sha256=xCZrm4Frx_Hjx8JMAIqAculZa7KUdBD52Puv7_RF5ts,20213
55
55
  torchaudio/io/_stream_reader.py,sha256=vrhcKHdpp-KpZaYE2kyYOnq_-gGhlb8fEZjSpD_kaO8,35234
56
56
  torchaudio/io/_playback.py,sha256=aEP_MTX0Nsy5mGL7L_IZz-ihIwbgo-0lxH4KyMT5dnk,2391
@@ -105,11 +105,11 @@ torchaudio/_backend/ffmpeg.py,sha256=xPJ90dmWcXL2jxJagUukCHEjV7g0dMhRmOu1DqQt1E4
105
105
  torchaudio/_backend/common.py,sha256=h9R29RTTW2lqOiKYByETXfXWsrTH65uHxGDKw3bWj-s,1835
106
106
  torchaudio/_backend/backend.py,sha256=CakqB9z_4ZtLsQTyMZbEbB0kTqpUe_gidHgObv9acyQ,1618
107
107
  torchaudio/_backend/__init__.py,sha256=G7CHDkFX3v2N31qN8U_jF8P6vTnGTOkcV57XVATF894,1787
108
- torchaudio/version.py,sha256=LHQdM4DOOZt5vK5maJIWCKv3n6eYCrjg1W6kAM4trEs,85
108
+ torchaudio/version.py,sha256=Y6mFy5vcueFFHZxeQc6wcaS8Umyk4MFi4v0Rm6rfO_o,85
109
109
  torchaudio/kaldi_io.py,sha256=acwysr6fASV9IcOTF0AbVPCo_VQTu1M2AOn1SXm3GPE,5217
110
110
  torchaudio/__init__.py,sha256=msodI3lQFPMsi9Uw8IVw6i_YhXRk6yykWouJLYrdvQE,1172
111
- torchaudio-2.1.1.dist-info/LICENSE,sha256=MmOOF5kxv-VR6r9nsOZ6E7SD4Wa1jdcmNjSrf4nzlvU,1363
112
- torchaudio-2.1.1.dist-info/METADATA,sha256=XpDpZl81t3G7h2UKbfF2-bE99asIWyUafMmavF51NL0,6351
113
- torchaudio-2.1.1.dist-info/WHEEL,sha256=W26pYN7HLsBT1jrDSL9udgf_mdNKJmYmL23sIP-FcgM,102
114
- torchaudio-2.1.1.dist-info/top_level.txt,sha256=mPKWMIRWWW2JwbJN6wRckeN1gpbjhifapAF0Z9t7SMo,11
115
- torchaudio-2.1.1.dist-info/RECORD,,
111
+ torchaudio-2.1.2.dist-info/LICENSE,sha256=MmOOF5kxv-VR6r9nsOZ6E7SD4Wa1jdcmNjSrf4nzlvU,1363
112
+ torchaudio-2.1.2.dist-info/METADATA,sha256=0mLJNmmtYDe0Cg-7hYlPi9LscXiYtrHSvrpOL-U1FhQ,6351
113
+ torchaudio-2.1.2.dist-info/WHEEL,sha256=W26pYN7HLsBT1jrDSL9udgf_mdNKJmYmL23sIP-FcgM,102
114
+ torchaudio-2.1.2.dist-info/top_level.txt,sha256=mPKWMIRWWW2JwbJN6wRckeN1gpbjhifapAF0Z9t7SMo,11
115
+ torchaudio-2.1.2.dist-info/RECORD,,