|
Algorithm 3 Dynamic Asynchronous Federated Averaging (FedDasync) |
| 01. Server Process:
|
| 02. Input:
|
| 03. Initialize the global model:
|
| 04. Scheduler Thread:
|
| 05. Scheduler periodically triggers some training tasks on some clients, and sents them |
| 06. from the latest global model with time stamp. |
| 07. Updater Thread:
|
| 08. for each round do
|
| 09.
|
| 10. loop for dynamic seconds after receiving update |
| 11. Receive the pair from any client |
| 12. timeList.append
|
| 13. is function of stateness |
| 14.
|
| 15. end loop
|
| 16.
|
| 17. end for
|