Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ forward
Method
forward
usr/diff/diffusion.py:68–69 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
66
67
class
Mish(nn.Module):
68
def
forward(self, x):
69
return
x * torch.tanh(F.softplus(x))
70
71
72
class
Upsample(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected