From b4c94f706343ba139ba306ddcb6537fe74a122c0 Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Sat, 28 Sep 2024 21:01:03 -0400 Subject: [PATCH] Fix a typo in a docstring in activations.py: "is define as" => "is defined as" --- keras/src/activations/activations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras/src/activations/activations.py b/keras/src/activations/activations.py index 32c3f5855d7..c21d2d279bc 100644 --- a/keras/src/activations/activations.py +++ b/keras/src/activations/activations.py @@ -169,7 +169,7 @@ def softmax(x, axis=-1): def elu(x, alpha=1.0): """Exponential Linear Unit. - The exponential linear unit (ELU) with `alpha > 0` is define as: + The exponential linear unit (ELU) with `alpha > 0` is defined as: - `x` if `x > 0` - alpha * `exp(x) - 1` if `x < 0`