tff.simulation.datasets.emnist.get_synthetic

Returns a small synthetic dataset for testing.

The two clients produced have exactly 10 examples apiece, one example for each digit label. The images are derived from a fixed set of hard-coded images.

A tff.simulation.datasets.ClientData object that matches the characteristics (other than size) of those provided by tff.simulation.datasets.emnist.load_data.