p2pfl.communication.commands.message.vote_train_set_command moduleΒΆ
VoteTrainSetCommand.
- class p2pfl.communication.commands.message.vote_train_set_command.VoteTrainSetCommand(state)[source]ΒΆ
Bases:
Command
VoteTrainSetCommand.
- execute(source, round, *args, **kwargs)[source]ΒΆ
Execute the command. Start learning thread.
- Parameters:
source (
str
) β The source of the command.round (
int
) β The round of the command.*args β Vote values (pairs of key and values).
**kwargs β The command keyword arguments.
- Return type:
None