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

Method __init__

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

Source from the content-addressed store, hash-verified

9
10class Reshape(nn.Module):
11 def __init__(self, *args):
12 super(Reshape, self).__init__()
13 self.shape = args
14
15 def forward(self, x):
16 return x.view(self.shape)

Callers 10

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected