<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/activations/__init__.py#L76-L102) |

    tf.keras.activations.serialize(
        activation
    )