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

Method forward

fc-CGANCode/models.py:71–78  ·  view source on GitHub ↗
(self,input,label)

Source from the content-addressed store, hash-verified

69 )
70
71 def forward(self,input,label):
72 x = self.fc_layer_1(input.view(input.size(0),-1))
73 y = self.fc_layer_2(label)
74 x = torch.cat([x,y],dim = 1)
75 x = self.fc_layer_3(x)
76 x = self.fc_layer_4(x)
77 out = self.fc_final_layer(x)
78 return out
79
80
81def weights_init_normal(m):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected