MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / forward

Method forward

StyleGAN/net/model.py:136–139  ·  view source on GitHub ↗
(self,x,w)

Source from the content-addressed store, hash-verified

134 self.adain2 = AdaIN(out_channels,w_dim)
135
136 def forward(self,x,w):
137 x = self.adain1(self.leaky(self.inject_noise1(self.conv1(x))),w)
138 x = self.adain2(self.leaky(self.inject_noise2(self.conv2(x))),w)
139 return x
140
141class ConvBlock(torch.nn.Module):
142 def __init__(self,in_channels,out_channels):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected