fl_server_ai.trainer.options ¶
Classes:
| Name | Description |
|---|---|
TrainerOptions | Trainer options including their default values. |
Classes¶
TrainerOptions dataclass ¶
Trainer options including their default values.
Used by:
- API Reference
fl_server_aitrainer
Methods:
| Name | Description |
|---|---|
__init__ | |
Attributes:
| Name | Type | Description |
|---|---|---|
delete_local_models_after_aggregation | bool | Flag indicating if local models should be deleted after aggregation. |
model_test_after_each_round | bool | Flag indicating if a model test should be performed after each round. |
skip_model_tests | bool | Flag indicating if model tests should be skipped. |
Source code in fl_server_ai/trainer/options.py
Attributes¶
delete_local_models_after_aggregation class-attribute instance-attribute ¶
delete_local_models_after_aggregation: bool = True
Flag indicating if local models should be deleted after aggregation.
model_test_after_each_round class-attribute instance-attribute ¶
model_test_after_each_round: bool = True
Flag indicating if a model test should be performed after each round.
skip_model_tests class-attribute instance-attribute ¶
skip_model_tests: bool = False
Flag indicating if model tests should be skipped.