# tff.simulation.datasets.flair.load_data

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) 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) |

Loads the FLAIR dataset.

    tff.simulation.datasets.flair.load_data(
        cache_dir: str
    ) -> tuple[_CLIENT_DATA, _CLIENT_DATA, _CLIENT_DATA]

<br />

<br />

<br />

| ## Args ||
|---|---|
| `cache_dir` | A string representing the directory containing the output of `write_data`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A three-tuple of [`tff.simulation.datasets.ClientData`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/ClientData) representing the train, validation, and test split of the FLAIR dataset. ||

<br />