Set the model in evaluation mode. Args: mode(bool): when mode is True, this model will enter training mode
(self, mode=True)
| 211 | raise NotImplementedError |
| 212 | |
| 213 | def train(self, mode=True): |
| 214 | """Set the model in evaluation mode. |
| 215 | |
| 216 | Args: |
| 217 | mode(bool): when mode is True, this model will enter training mode |
| 218 | """ |
| 219 | self.training = mode |
| 220 | autograd.training = mode |
| 221 | |
| 222 | def eval(self): |
| 223 | """Sets the model in evaluation mode. |
no outgoing calls
no test coverage detected