Summary
In this chapter, we have explained the internal libraries in detail so that you can implement the entire FL system without further investigating what and how to code for basic functionalities such as communication and data structure conversion frameworks.
There are mainly five aspects that the internal library covers: enumeration classes, defining the system states, such as FL client states; the communication handler, supporting send and receive functionalities; the data structure, to handle ML models when aggregation happens; helper and support functions, which cope with basic operations, such as saving data and producing randomized IDs; and messenger functions, to generate various payloads sent among the database, aggregator, and agents.
With these functions, you will find the implementation of FL systems easy and smooth, but these libraries only support achieving some minimal functionality of the FL system; hence, it is up to you to further enhance the FL system to...