(self)
| 45 | |
| 46 | class VAE(nn.Module): |
| 47 | def __init__(self): |
| 48 | super(VAE, self).__init__() |
| 49 | |
| 50 | self.fc1 = nn.Linear(784, 400) |
| 51 | self.fc21 = nn.Linear(400, 20) |
| 52 | self.fc22 = nn.Linear(400, 20) |
| 53 | self.fc3 = nn.Linear(20, 400) |
| 54 | self.fc4 = nn.Linear(400, 784) |
| 55 | |
| 56 | def encode(self, x): |
| 57 | h1 = F.relu(self.fc1(x)) |
nothing calls this directly
no outgoing calls
no test coverage detected