Skip to content

Commit

Permalink
Update wavernn.py (#2347)
Browse files Browse the repository at this point in the history
Summary:
fix false shape

Pull Request resolved: #2347

Reviewed By: carolineechen

Differential Revision: D35921047

Pulled By: nateanl

fbshipit-source-id: 5b58820ee777920c68f13a15d80cd2bcc931af87
  • Loading branch information
bingcheng1998 authored and facebook-github-bot committed Apr 26, 2022
1 parent 892d6d3 commit 0986eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchaudio/models/wavernn.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class UpsampleNetwork(nn.Module):
Examples
>>> upsamplenetwork = UpsampleNetwork(upsample_scales=[4, 4, 16])
>>> input = torch.rand(10, 128, 10) # a random spectrogram
>>> output = upsamplenetwork(input) # shape: (10, 1536, 128), (10, 1536, 128)
>>> output = upsamplenetwork(input) # shape: (10, 128, 1536), (10, 128, 1536)
"""

def __init__(
Expand Down

0 comments on commit 0986eeb

Please sign in to comment.