<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/layers/__init__.py#L246-L268) |

Returns a Keras layer object via its configuration.

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `config` | A python dict containing a serialized layer 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 layer instance. ||

<br />