(self,x)
| 21 | torch.nn.Linear(in_features=256, out_features=out_features), |
| 22 | ) |
| 23 | def forward(self,x): |
| 24 | x = x.view(-1,784) |
| 25 | out = self.encoder(x) |
| 26 | return out |
| 27 | |
| 28 | if __name__ == '__main__': |
| 29 | model = Encoder(in_features=784,out_features=128) |
nothing calls this directly
no outgoing calls
no test coverage detected