Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ CustomSwish
Class
CustomSwish
modules/commons/common_layers.py:481–483 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
479
480
481
class
CustomSwish(nn.Module):
482
def
forward(self, input_tensor):
483
return
Swish.apply(input_tensor)
484
485
486
class
TransformerFFNLayer(nn.Module):
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected