# tff.simulation.models.mnist.keras_dataset_from_emnist

<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) |

Converts `dataset` for use with the output of `create_simple_keras_model`.

    tff.simulation.models.mnist.keras_dataset_from_emnist(
        dataset
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `dataset` | An instance of [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) to read from. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| An instance of [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) after conversion. ||

<br />