Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ forward
Method
forward
usr/diff/shallow_diffusion_tts.py:96–97 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
94
self.g = nn.Parameter(torch.zeros(1))
95
96
def
forward(self, x):
97
return
self.fn(x) * self.g
98
99
100
# building block modules
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected