p2pfl.communication.commands.message.start_learning_command moduleΒΆ
StartLearning command.
- class p2pfl.communication.commands.message.start_learning_command.StartLearningCommand(start_learning_fn)[source]ΒΆ
Bases:
Command
StartLearning command.
- execute(source, round, learning_rounds=None, learning_epochs=None, **kwargs)[source]ΒΆ
Execute the command. Start learning thread.
- Parameters:
source (
str
) β The source of the command.round (
int
) β The round of the command.learning_rounds (
Optional
[int
]) β The number of learning rounds.learning_epochs (
Optional
[int
]) β The number of learning epochs.**kwargs β The command keyword arguments.
- Return type:
None