FederatedScope
FederatedScope copied to clipboard
[Feature] Support more message types in server
Our Target
- We are planning to add a consultation stage before training for differential privacy.
- We decompose it into several PRs to avoid large modification at one time.
What's in this PR
- This PR is to support more message types in the server (currently we only support
trainandevalinself.msgbuffer) - We add a enumeration class
STAGEinenums.pyto avoid using string directly - We modify
check_and_move_onandcheck_bufferfucntions to support more messages. - The modification is compatible with previous versions