(self, x)
| 58 | self.optimizer = opt.SGD() |
| 59 | |
| 60 | def forward(self, x): |
| 61 | y = self.conv1(x) |
| 62 | y = self.bn1(y) |
| 63 | y = autograd.reshape(y, (y.shape[0], -1)) |
| 64 | y = self.doublelinear1(y) |
| 65 | return y |
| 66 | |
| 67 | def train_one_batch(self, x, y): |
| 68 | y_ = self.forward(x) |
no test coverage detected