服务器#

Flower 服务器。

Functions

run_driver_api()

Run Flower server (Driver API).

run_fleet_api()

Run Flower server (Fleet API).

run_server_app()

Run Flower server app.

run_superlink()

Run Flower SuperLink (Driver API and Fleet API).

start_driver(*[, server_address, server, ...])

Start a Flower Driver API server.

start_server(*[, server_address, server, ...])

使用 gRPC 传输层启动 Flower 服务器。

Classes

ClientManager()

Abstract base class for managing Flower clients.

Driver()

Abstract base Driver class for the Driver API.

History()

History class for training and/or evaluation metrics collection.

LegacyContext(state[, config, strategy, ...])

Legacy Context.

Server(*, client_manager[, strategy])

Flower 服务器。

ServerApp([server, config, strategy, ...])

Flower ServerApp.

ServerConfig([num_rounds, round_timeout])

Flower server config.

SimpleClientManager()

Provides a pool of available clients.

Modules

flwr.server.strategy

包含策略抽象和不同的实现方法。

flwr.server.workflow

Workflows.