tff.simulation.datasets.flair.load_data
Stay organized with collections
Save and categorize content based on your preferences.
Loads the FLAIR dataset.
tff.simulation.datasets.flair.load_data(
cache_dir: str
) -> tuple[_CLIENT_DATA, _CLIENT_DATA, _CLIENT_DATA]
Args |
cache_dir
|
A string representing the directory containing the output of
write_data .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-20 UTC."],[],[],null,["# tff.simulation.datasets.flair.load_data\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |\n\nLoads the FLAIR dataset. \n\n tff.simulation.datasets.flair.load_data(\n cache_dir: str\n ) -\u003e tuple[_CLIENT_DATA, _CLIENT_DATA, _CLIENT_DATA]\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-------------|----------------------------------------------------------------------------|\n| `cache_dir` | A string representing the directory containing the output of `write_data`. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A three-tuple of [`tff.simulation.datasets.ClientData`](../../../../tff/simulation/datasets/ClientData) representing the train, validation, and test split of the FLAIR dataset. ||\n\n\u003cbr /\u003e"]]