Sets the model in evaluation mode.
(self)
| 220 | autograd.training = mode |
| 221 | |
| 222 | def eval(self): |
| 223 | """Sets the model in evaluation mode. |
| 224 | """ |
| 225 | self.train(mode=False) |
| 226 | |
| 227 | def graph(self, mode=True, sequential=False): |
| 228 | """ Turn on the computational graph. Specify execution mode. |