core.components.runner#
Classes#
Represents an abstraction over things that run in a loop and can save/load state. |
|
Represents an abstraction over things that run in a loop and can save/load state. |
Module Contents#
- class core.components.runner.Runner#
Represents an abstraction over things that run in a loop and can save/load state. ie: Trainers, Validators, Relaxation all fall in this category. This allows us to decouple away from a monolithic trainer class
- abstract run() Any #
- abstract save_state() None #
- abstract load_state() None #
- class core.components.runner.MockRunner(x: int, y: int)#
Bases:
Runner
Represents an abstraction over things that run in a loop and can save/load state. ie: Trainers, Validators, Relaxation all fall in this category. This allows us to decouple away from a monolithic trainer class
- x#
- y#
- run() Any #
- save_state() None #
- load_state() None #