p2pfl.examples.node2 moduleΒΆ

Example of a P2PFL MNIST node using a MLP model and a MnistFederatedDM.

This node will be connected to node1 and then, the federated learning process will start.

p2pfl.examples.node2.node2(port)[source]ΒΆ

Start a node2, connects to another node, start and waits the federated learning process to finish.

Parameters:

port (int) – The port to connect.

Return type:

None