HogwildTrainer.ConfigΒΆ

Component: HogwildTrainer

class HogwildTrainer.Config[source]

Bases: ConfigBase

All Attributes (including base classes)

real_trainer: Trainer.Config = Trainer.Config()
num_workers: int = 1

Default JSON

{
    "real_trainer": {
        "random_seed": 0,
        "epochs": 10,
        "early_stop_after": 0,
        "max_clip_norm": null,
        "report_train_metrics": true
    },
    "num_workers": 1
}