Skip to content

Commit e77f07a

Browse files
committed
fix comment
1 parent 93a8cd4 commit e77f07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# read an audio file
77
SAMPLE_RATE, sample = wavfile.read("./wavs/test.wav")
88

9-
# convert to tensor of shape (channels, samples)
9+
# convert to tensor of shape (batch_size, channels, samples)
1010
dtype = sample.dtype
1111
sample = torch.tensor(
1212
[np.swapaxes(sample, 0, 1)], # (samples, channels) --> (channels, samples)

0 commit comments

Comments
 (0)