Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ forward
Method
forward
modules/commons/common_layers.py:15–16 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
13
self.shape = args
14
15
def
forward(self, x):
16
return
x.view(self.shape)
17
18
19
class
Permute(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected