A tff.program.FederatedDataSource backed by

Inherits From: FederatedDataSource

A tff.program.FederatedDataSource backed by a sequence of's,' per client, and selects data uniformly random with replacement.

datasets A sequence of `'s to use to yield the data from this data source.

ValueError If datasets is empty or if each in datasets does not have the same type specification.

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



View source

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