(self)
| 280 | self.should_log = False |
| 281 | |
| 282 | def state(self) -> dict: |
| 283 | return { |
| 284 | "args": { |
| 285 | "should_training_stop": self.should_training_stop, |
| 286 | "should_epoch_stop": self.should_epoch_stop, |
| 287 | "should_save": self.should_save, |
| 288 | "should_evaluate": self.should_evaluate, |
| 289 | "should_log": self.should_log, |
| 290 | }, |
| 291 | "attributes": {}, |
| 292 | } |
| 293 | |
| 294 | |
| 295 | class TrainerCallback: |
no outgoing calls