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

Method __init__

usr/diff/diffusion.py:73–75  ·  view source on GitHub ↗
(self, dim)

Source from the content-addressed store, hash-verified

71
72class Upsample(nn.Module):
73 def __init__(self, dim):
74 super().__init__()
75 self.conv = nn.ConvTranspose2d(dim, dim, 4, 2, 1)
76
77 def forward(self, x):
78 return self.conv(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected