Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KeepTryingTo/Pytorch-GAN
/ forward
Method
forward
GANCode/dModel.py:25–28 ·
view source on GitHub ↗
(self,input)
Source
from the content-addressed store, hash-verified
23
torch.nn.Sigmoid()
24
)
25
def
forward(self,input):
26
x = input.view(-1,784)
27
x = self.fc(x)
28
return
x
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected