-
Notifications
You must be signed in to change notification settings - Fork 899
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gRPC-rere support for the C++ SDK (#2537)
- Loading branch information
1 parent
78163cb
commit ffcca20
Showing
12 changed files
with
601 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import flwr as fl | ||
from fedavg_cpp import FedAvgCpp | ||
|
||
# Start Flower server for three rounds of federated learning | ||
if __name__ == "__main__": | ||
fl.driver.start_driver( | ||
server_address="0.0.0.0:9091", | ||
config=fl.server.ServerConfig(num_rounds=3), | ||
strategy=FedAvgCpp(), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.