p2pfl.examples.node1 moduleΒΆ

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

This node only starts, create a node2 and connect to it in order to start the federated learning process.

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

Start a node1 and waits for a key press to stop it.

Parameters:

port (int) – The port where the node will be listening.

Return type:

None