mirror of
https://github.com/xiph/opus.git
synced 2025-05-21 10:58:30 +00:00
Remove unneeded (I think) tanh at the end
This commit is contained in:
parent
33adba02c7
commit
8e8edf71bd
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ class PitchDNN(torch.nn.Module):
|
||||||
)
|
)
|
||||||
self.GRU = torch.nn.GRU(input_size=gru_dim, hidden_size=gru_dim, num_layers=1, batch_first=True)
|
self.GRU = torch.nn.GRU(input_size=gru_dim, hidden_size=gru_dim, num_layers=1, batch_first=True)
|
||||||
self.upsample = torch.nn.Sequential(
|
self.upsample = torch.nn.Sequential(
|
||||||
torch.nn.Linear(gru_dim, output_dim),
|
torch.nn.Linear(gru_dim, output_dim)
|
||||||
self.activation
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue