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

PartialModelCommand command.

class p2pfl.communication.commands.weights.partial_model_command.PartialModelCommand(state, stop, aggregator, comm_proto, learner)[source]ΒΆ

Bases: Command

PartialModelCommand.

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

Execute the command.

Return type:

None

static get_name()[source]ΒΆ

Get the command name.

Return type:

str