Skip to content

Commit 6013c36

Browse files
committed
Merge branch 'torchcodec_loading' into remove_backends
2 parents 9ab06f7 + dd3ff90 commit 6013c36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/torchaudio_unittest/test_load_save_torchcodec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ def test_save_channels_first(channels_first):
227227
"""Test channels_first parameter."""
228228
# Create test data
229229
if channels_first:
230-
waveform = torch.randn(2, 16000) # [channel, time]
230+
waveform = torch.rand(2, 16000) # [channel, time]
231231
else:
232-
waveform = torch.randn(16000, 2) # [time, channel]
232+
waveform = torch.rand(16000, 2) # [time, channel]
233233

234234
sample_rate = 16000
235235

0 commit comments

Comments
 (0)