Skip to content

Commit e80fe5b

Browse files
authored
Fix a typo in a docstring in activations.py: (#20305)
"is define as" => "is defined as"
1 parent 4f7f852 commit e80fe5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/src/activations/activations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def softmax(x, axis=-1):
169169
def elu(x, alpha=1.0):
170170
"""Exponential Linear Unit.
171171
172-
The exponential linear unit (ELU) with `alpha > 0` is define as:
172+
The exponential linear unit (ELU) with `alpha > 0` is defined as:
173173
174174
- `x` if `x > 0`
175175
- alpha * `exp(x) - 1` if `x < 0`

0 commit comments

Comments
 (0)