Sets the model in evaluation mode.
(self)
| 240 | autograd.training = mode |
| 241 | |
| 242 | def eval(self): |
| 243 | """Sets the model in evaluation mode. |
| 244 | """ |
| 245 | self.train(mode=False) |
| 246 | |
| 247 | def graph(self, mode=True, sequential=False): |
| 248 | """ Turn on the computational graph. Specify execution mode. |