<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/dtype_policies/__init__.py#L42-L61) |

Deserializes a serialized `DTypePolicy` instance.

    tf.keras.dtype_policies.deserialize(
        config, custom_objects=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `config` | `DTypePolicy` configuration. |
| `custom_objects` | Optional dictionary mapping names (strings) to custom objects (classes and functions) to be considered during deserialization. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A Keras `DTypePolicy` instance. ||

<br />