sacs-epfl / decentralizepy

A decentralized learning research framework
MIT License
26 stars 21 forks source link

Refactor #8

Open rishi-s8 opened 1 year ago

rishi-s8 commented 1 year ago

The submodules in DecentralizePy have a lot of redundant code.

For instance,

  1. Most of the elements of the run() function of Node are repeated.
  2. Submodules of Sharing have a lot of redundant code, especially the part about serialization into a linear array and back.

Feel free to refactor others.