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

FullModelCommand.

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

Bases: Command

FullModelCommand.

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

Execute the command.

Parameters:
  • source (str)

  • round (int)

  • weights (bytes | None)

Return type:

None

static get_name()[source]ΒΆ

Get the command name.

Return type:

str