(self, x, y)
| 24 | self.cross_entropy_loss = torch.nn.CrossEntropyLoss() |
| 25 | |
| 26 | def forward(self, x, y): |
| 27 | hidden = x |
| 28 | hidden1 = self.linear(hidden) |
| 29 | hidden2 = self.linear(hidden1) |
| 30 | return self.cross_entropy_loss(hidden2, y) |
| 31 | |
| 32 | |
| 33 | def create_config_from_dict(tmpdir, config_dict): |
nothing calls this directly
no outgoing calls
no test coverage detected