We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2efdc8e commit dfd13c4Copy full SHA for dfd13c4
beginner_source/audio_preprocessing_tutorial.py
@@ -213,7 +213,7 @@ def normalize(tensor):
213
# Now let's experiment with a few of the other functionals and visualize their output. Taking our
214
# spectogram, we can compute it's deltas:
215
216
-computed = torchaudio.functional.compute_deltas(specgram, win_length=3)
+computed = torchaudio.functional.compute_deltas(specgram.contiguous(), win_length=3)
217
print("Shape of computed deltas: {}".format(computed.shape))
218
219
plt.figure()
0 commit comments