MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / __init__

Method __init__

modules/commons/common_layers.py:20–22  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

18
19class Permute(nn.Module):
20 def __init__(self, *args):
21 super(Permute, self).__init__()
22 self.args = args
23
24 def forward(self, x):
25 return x.permute(self.args)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected