core.components.runner#

Classes#

Runner

Represents an abstraction over things that run in a loop and can save/load state.

MockRunner

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#