runner

NeuroevolutionTaskRunner.

class cneuromax.fitting.neuroevolution.runner.NeuroevolutionTaskRunner[source]

Bases: FittingTaskRunner

Neuroevolution task runner.

classmethod store_configs(store)[source]

Stores structured configs.

Warning

Make sure to call this method if you are overriding it.

Parameters:

store (ZenStore) – See store.

Return type:

None

static validate_subtask_config(config)[source]

Validates the subtask config.

Parameters:

config (NeuroevolutionSubtaskConfig)

Raises:

RuntimeError – If device is set to gpu but CUDA is not available.

Return type:

None

classmethod run_subtask(space, agent, logger, config)[source]

Runs the subtask.

Return type:

Any