Commit 0986eebf authored by Bingcheng Hu's avatar Bingcheng Hu Committed by Facebook GitHub Bot
Browse files

Update wavernn.py (#2347)

Summary:
fix false shape

Pull Request resolved: https://github.com/pytorch/audio/pull/2347

Reviewed By: carolineechen

Differential Revision: D35921047

Pulled By: nateanl

fbshipit-source-id: 5b58820ee777920c68f13a15d80cd2bcc931af87
parent 892d6d34
...@@ -140,7 +140,7 @@ class UpsampleNetwork(nn.Module): ...@@ -140,7 +140,7 @@ class UpsampleNetwork(nn.Module):
Examples Examples
>>> upsamplenetwork = UpsampleNetwork(upsample_scales=[4, 4, 16]) >>> upsamplenetwork = UpsampleNetwork(upsample_scales=[4, 4, 16])
>>> input = torch.rand(10, 128, 10) # a random spectrogram >>> 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__( def __init__(
......
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