tff.program.ClientIdDataSource

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.

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.