p2pfl.communication.commands.weights.init_model_command moduleΒΆ

InitModel command.

class p2pfl.communication.commands.weights.init_model_command.InitModelCommand(state, stop, aggregator, learner)[source]ΒΆ

Bases: Command

InitModelCommand.

execute(source, round, weights=None, **kwargs)[source]ΒΆ

Execute the command.

Return type:

None

static get_name()[source]ΒΆ

Get the command name.

Return type:

str