Skip to content

declearn.communication.messaging.StopTraining

Bases: Message

Server-emitted notification that the training process is over.

Source code in declearn/communication/messaging/_messages.py
216
217
218
219
220
221
222
223
224
@dataclasses.dataclass
class StopTraining(Message):
    """Server-emitted notification that the training process is over."""

    typekey = "stop_training"

    weights: Vector
    loss: float
    rounds: int