View source on GitHub
|
Creates tff.simulation.datasets.ClientData for a synthetic in-memory example of Shakespeare.
tff.simulation.datasets.shakespeare.get_synthetic() -> tff.simulation.datasets.ClientData
The returned tff.simulation.datasets.ClientData will have the same data
schema as load_data(), but uses a very small set of client data loaded
in-memory.
This synthetic data is useful for validation in small tests.
Returns | |
|---|---|
A tff.simulation.datasets.ClientData of synthentic Shakespeare text.
|
View source on GitHub