|View source on GitHub|
Quickly returns a small synthetic dataset, useful for unit tests, etc.
tff.simulation.datasets.emnist.get_synthetic( num_clients=2 )
Each client produced has exactly 10 examples, one of each digit. The images
are derived from a fixed set of hard-coded images, and transformed using
tff.simulation.datasets.emnist.get_infinite to produce the desired number of
||The number of synthetic clients to generate.|