MCPcopy Create free account
hub / github.com/OpenGVLab/DragGAN / forward

Method forward

draggan/deprecated/stylegan2/model.py:63–66  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

61 self.pad = (pad0, pad1)
62
63 def forward(self, input):
64 out = upfirdn2d(input, self.kernel, up=self.factor, down=1, pad=self.pad)
65
66 return out
67
68
69class Downsample(nn.Module):

Callers

nothing calls this directly

Calls 1

upfirdn2dFunction · 0.90

Tested by

no test coverage detected