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

Method forward

draggan/deprecated/stylegan2/model.py:375–381  ·  view source on GitHub ↗
(self, input, style, noise=None)

Source from the content-addressed store, hash-verified

373 self.activate = FusedLeakyReLU(out_channel)
374
375 def forward(self, input, style, noise=None):
376 out = self.conv(input, style)
377 out = self.noise(out, noise=noise)
378 # out = out + self.bias
379 out = self.activate(out)
380
381 return out
382
383
384class ToRGB(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected