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

Method forward

cnn-CGANCode/models.py:136–143  ·  view source on GitHub ↗
(self,input,label)

Source from the content-addressed store, hash-verified

134 torch.nn.Sigmoid()
135 )
136 def forward(self,input,label):
137 x = self.conv_layer_1(input)
138 y = self.conv_layer_2(label)
139 x = torch.cat([x,y], dim = 1)
140 x = self.conv_layer_3(x)
141 x = self.conv_layer_4(x)
142 out = self.final_layer(x)
143 return out
144
145
146

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected