tff.program.ClientIdDataSource

Stay organized with collections Save and categorize content based on your preferences.

A tff.program.FederatedDataSource backed by client ids.

Inherits From: FederatedDataSource

client_ids A sequence of strings used to yield the client ids from this data source. Must not be empty.

ValueError If client_ids is empty.

capabilities The list of capabilities supported by this data source.
federated_type The type of the data returned by calling select on an iterator.

Methods

iterator

View source

Returns a new iterator for retrieving client ids from this data source.