runner

BaseTaskRunner.

class cneuromax.runner.BaseTaskRunner[source]

Bases: ABC

task runner.

Stores configs and runs the task.

hydra_config

alias of BaseHydraConfig

final classmethod store_configs_and_run_task()[source]

Stores various configs and runs the task.

Parameters:

cls – The BaseTaskRunner subclass calling this method.

Return type:

None

abstract classmethod store_configs(store)[source]

Stores structured configs.

Parameters:
Return type:

None

abstract static run_subtask(*args, **kwargs)[source]

Runs the subtask given config.

This method is meant to hold the subtask execution logic.

Return type:

Any