Unverified Commit ffcda23f authored by Vincent QB's avatar Vincent QB Committed by GitHub
Browse files

follow convention for dimension. (#333)

parent 6db2ad1c
...@@ -41,7 +41,7 @@ class TimeStretch(torch.jit.ScriptModule): ...@@ -41,7 +41,7 @@ class TimeStretch(torch.jit.ScriptModule):
If no rate is passed, use ``self.fixed_rate`` If no rate is passed, use ``self.fixed_rate``
Returns: Returns:
(Tensor): Stretched complex spectrogram of dimension (*, channel, n_freq, ceil(time/rate), complex=2) (Tensor): Stretched complex spectrogram of dimension (*, channel, freq, ceil(time/rate), complex=2)
""" """
assert complex_specgrams.size(-1) == 2, "complex_specgrams should be a complex tensor, shape (*, complex=2)" assert complex_specgrams.size(-1) == 2, "complex_specgrams should be a complex tensor, shape (*, complex=2)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment