Skip to content

Commit

Permalink
Fix a typo in a docstring in activations.py: (#20305)
Browse files Browse the repository at this point in the history
"is define as" => "is defined as"
  • Loading branch information
nate2s authored Sep 29, 2024
1 parent 4f7f852 commit e80fe5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/src/activations/activations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit e80fe5b

Please sign in to comment.