tff.simulation.datasets.cifar100.get_synthetic

Stay organized with collections Save and categorize content based on your preferences.

Returns a small synthetic dataset for testing.

The two clients produced have exactly 5 examples apiece. The images and labels 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.cifar100.load_data.