MCPcopy Create free account
hub / github.com/TalwalkarLab/leaf / select_clients

Method select_clients

models/server.py:13–29  ·  view source on GitHub ↗

Selects num_clients clients randomly from possible_clients. Note that within function, num_clients is set to min(num_clients, len(possible_clients)). Args: possible_clients: Clients from which the server can select. num_clients: Number of

(self, my_round, possible_clients, num_clients=20)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected