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. Must not be empty and' must have the same type specification.

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

federated_type The type of the data returned by calling select on an iterator.



View source

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