torchaudio 2.1.1__cp311-cp311-manylinux1_x86_64.whl → 2.1.2__cp311-cp311-manylinux1_x86_64.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
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+cu121'
2
- git_version = '5784206b90d738de888dce4c99b8b46be213f019'
1
+ __version__ = '2.1.2+cu121'
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=x6COHPU1JY5VOg9HeVXQ9Ibq6UG7nydsvXD7_e6c0Rs
2
2
  torchaudio/utils/ffmpeg_utils.py,sha256=mU-Kx_kNb2v3nJ0o7mC5Vj3YEo5bAdQOrb5lZi9YUe8,8985
3
3
  torchaudio/utils/download.py,sha256=2IFKD1rsWBFE31HTiyUgpE5y7AJh8_AUPdc-btNQuKw,2882
4
4
  torchaudio/utils/__init__.py,sha256=vBly7XEzLsppIfIqKJA_pu_ZTWP4EZ4TtlAJ0H2qRzc,150
5
- torchaudio/transforms/_transforms.py,sha256=vKoAZalBVlUmzKqlTP0t0IuUH4nIys_v2fmsTKsXCts,86780
5
+ torchaudio/transforms/_transforms.py,sha256=Tw_xZGT3YAGPX_R_5d8Dr_ARaQA4lc73x6WOyylrNkk,86608
6
6
  torchaudio/transforms/_multi_channel.py,sha256=GZ2rrwFt2KtSG7At7kS9Bqh1KmYYw0HwcUnEjc-AWr8,22221
7
7
  torchaudio/transforms/__init__.py,sha256=Tp1o4haiJAV3MRJenmvGXFbmt-RE4qM_pd6U3Ghohqw,1270
8
8
  torchaudio/sox_effects/sox_effects.py,sha256=aVs0GddGxQg1eU9fae4KtYYzQu3Nx6zPeJ7aso2WT-Y,11089
@@ -43,18 +43,18 @@ torchaudio/models/conv_tasnet.py,sha256=v-DI_Ej9FCBBbSH-Spkh3tzq8rkBhbQNA-Wp52Uf
43
43
  torchaudio/models/conformer.py,sha256=5IceU-jcZKofkHTTqRKoytubQ75MzZPrPlfkLsIlxeA,10068
44
44
  torchaudio/models/_hdemucs.py,sha256=VPnQ73lA9lfAxRjZ85NCGJYP36mPNwTjS-TU4qelu_k,38242
45
45
  torchaudio/models/__init__.py,sha256=BNMNGuwpJAFRsdtwHYQ6slGClkrUTu31_7mXh7FjeV4,1995
46
- torchaudio/lib/pybind11_prefixctc.so,sha256=mR647Np0viNiMxWFLEgY8dyeHXWDl8UIHSExfqZTNco,213552
47
- torchaudio/lib/libtorchaudio_sox.so,sha256=BijCUhKEmDVmMWakO5MvvbqwuIp7WTkybZ2r-dRHm90,258992
48
- torchaudio/lib/libtorchaudio_ffmpeg6.so,sha256=JuTrfwTTeIHM4teDVBOWauNk5tprVHiVZUIyISupllA,694360
49
- torchaudio/lib/libtorchaudio_ffmpeg5.so,sha256=Z5dRq-tPlpDwzZQ3qiZqNqIqxAKIxto_CU8a_XF0YKo,694360
50
- torchaudio/lib/libtorchaudio_ffmpeg4.so,sha256=2WZjP_OwVrmyq9u208-W-Y6cKLa_R9IctOQH6KV6iUg,694360
51
- torchaudio/lib/libtorchaudio.so,sha256=uMKfKiov7nBpNNJsH5QfF0gSobFNn_VdwP8du4u5th4,2222920
52
- torchaudio/lib/libctc_prefix_decoder.so,sha256=UNVbwdbVlqZSXmJ4n_IijQ_T261DNBL4cV8kjs749no,4901512
53
- torchaudio/lib/_torchaudio_sox.so,sha256=wZkUDlK2p5JMh9y2WMG8xszmllIywm2TU1D8RfNKGHU,150520
54
- torchaudio/lib/_torchaudio_ffmpeg6.so,sha256=CLBKEkNRknefLwMbeD4deIcHXpwy_Xj2U3GLkMSEqpA,439488
55
- torchaudio/lib/_torchaudio_ffmpeg5.so,sha256=ncaTgdZulKQs4ccFz7U79LI2ngHIEnnxUWF5oiD9YZg,439488
56
- torchaudio/lib/_torchaudio_ffmpeg4.so,sha256=0fftav6X1ow2Tyj78SBxj6MuPF16ImdA5TEBoz6a26c,439488
57
- torchaudio/lib/_torchaudio.so,sha256=-jMC5vBoUpRrcsWw_EUUkQLBp7DUSsZGE3yc1ExYc7U,138248
46
+ torchaudio/lib/pybind11_prefixctc.so,sha256=L_RRpj-9ZouIQUBJPenWNk35vfxE3TbjRPVKpVx9rLQ,213552
47
+ torchaudio/lib/libtorchaudio_sox.so,sha256=i18h_GhUj5cT_w2qZ_btv01-Ri5Sjem4wvH6tgiTtCE,258992
48
+ torchaudio/lib/libtorchaudio_ffmpeg6.so,sha256=1JVxNiPVl4d9vJNr1SaUQYf7KyMnZNFKfX2MRgpj740,694360
49
+ torchaudio/lib/libtorchaudio_ffmpeg5.so,sha256=T0-yF5xOZ2baPaN15NWRJk9NOTU7SJdcTPA_UVjKImk,694360
50
+ torchaudio/lib/libtorchaudio_ffmpeg4.so,sha256=8ZfMOxZY37BxvPMXqyyXFkgHcbe3PqQa_nY9l--Xi_w,694360
51
+ torchaudio/lib/libtorchaudio.so,sha256=WWZ9Ou1q8hOI9O9suxCPL3MItP4kAMd-xCJh9Gp50Wk,2222920
52
+ torchaudio/lib/libctc_prefix_decoder.so,sha256=vUrhnpWJtV-9tBFBE6is8APf5YQt2OPyWJTxaZRLmxM,4901512
53
+ torchaudio/lib/_torchaudio_sox.so,sha256=5Acf1F0fU-TeskwF6PyptXEOibRfroUr5XslPkhfh2c,150520
54
+ torchaudio/lib/_torchaudio_ffmpeg6.so,sha256=n6GpaQMD1KASEmtHzlN0wAKgt4brhXMLqayhk_Y4Br8,439488
55
+ torchaudio/lib/_torchaudio_ffmpeg5.so,sha256=4A8U2dYY0JSQbfLl75hm9gOx7u1t8PEb3_GNbZfS2yY,439488
56
+ torchaudio/lib/_torchaudio_ffmpeg4.so,sha256=LqzuVT10ephSQLHc9DLvansVT4a0l2_RKMaQim2AM8s,439488
57
+ torchaudio/lib/_torchaudio.so,sha256=mRJbVx6NXR-2DHCmzA1BqZuRwtNmOmh2tpl0oyfJxPc,138248
58
58
  torchaudio/io/_stream_writer.py,sha256=bFNWKXHLYCwr9SU49rXkuFZHuT1hS3Er0sTiNh5x6uU,19714
59
59
  torchaudio/io/_stream_reader.py,sha256=cBOHBB2gVIWSBXyJfJsPFp9fvquKv6AkrD4x1Lwr7lA,34257
60
60
  torchaudio/io/_playback.py,sha256=5-YwAWkU6IHjreGu_GvjsZynCfX_VYwI5wH5qjtXYPk,2320
@@ -109,11 +109,11 @@ torchaudio/_backend/ffmpeg.py,sha256=lgof8oWCJA1IgBETLz3bzgURwGs7QphJQPTWnRkL044
109
109
  torchaudio/_backend/common.py,sha256=55Y0r0MsdW6gvTOT_Zy60UGFXc60DfdJ7uvycJKK3is,1783
110
110
  torchaudio/_backend/backend.py,sha256=hSrfZcj5FMzx5ZpwubN-LLMvBFb7ENyw7HvT_6pVYVU,1565
111
111
  torchaudio/_backend/__init__.py,sha256=3li8KAJkJN2gkw9j9NSTFbxvXFdLiDAsaefdM72oYBU,1730
112
- torchaudio/version.py,sha256=r-gCVzkfqJpOYVoveClxFYwpXsfPazhbrqjzIS04bRc,85
112
+ torchaudio/version.py,sha256=IRaJ1IHCbWqYPALh29rwO_4jo2cLNDjjYftRmKPkBS4,85
113
113
  torchaudio/kaldi_io.py,sha256=TwS2YgSLlJwOXjNNsHBuXyxhKeKKpptVHLBV7QYZCas,5073
114
114
  torchaudio/__init__.py,sha256=JNqWeRjt7G9AbkqH-zqgtJ41tBbuKXxzYFwSR6BBwRY,1117
115
- torchaudio-2.1.1.dist-info/LICENSE,sha256=k6WIYahYzBCOa2uDPgjnbosqZjOeSoAHyKWowf-cQNY,1338
116
- torchaudio-2.1.1.dist-info/METADATA,sha256=XpDpZl81t3G7h2UKbfF2-bE99asIWyUafMmavF51NL0,6351
117
- torchaudio-2.1.1.dist-info/WHEEL,sha256=SDelwq02b06fwplkQZvkz1He6jwwI0lX67IuoOqGvrc,105
118
- torchaudio-2.1.1.dist-info/top_level.txt,sha256=mPKWMIRWWW2JwbJN6wRckeN1gpbjhifapAF0Z9t7SMo,11
119
- torchaudio-2.1.1.dist-info/RECORD,,
115
+ torchaudio-2.1.2.dist-info/LICENSE,sha256=k6WIYahYzBCOa2uDPgjnbosqZjOeSoAHyKWowf-cQNY,1338
116
+ torchaudio-2.1.2.dist-info/METADATA,sha256=0mLJNmmtYDe0Cg-7hYlPi9LscXiYtrHSvrpOL-U1FhQ,6351
117
+ torchaudio-2.1.2.dist-info/WHEEL,sha256=SDelwq02b06fwplkQZvkz1He6jwwI0lX67IuoOqGvrc,105
118
+ torchaudio-2.1.2.dist-info/top_level.txt,sha256=mPKWMIRWWW2JwbJN6wRckeN1gpbjhifapAF0Z9t7SMo,11
119
+ torchaudio-2.1.2.dist-info/RECORD,,