Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ forward
Method
forward
usr/diff/diffusion.py:48–49 ·
view source on GitHub ↗
(self, x, *args, **kwargs)
Source
from the content-addressed store, hash-verified
46
self.fn = fn
47
48
def
forward(self, x, *args, **kwargs):
49
return
self.fn(x, *args, **kwargs) + x
50
51
52
class
SinusoidalPosEmb(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected