Skip to content

Commit

Permalink
Updated keras.layers.activations.ReLU API with keras.layers.ReLU in E…
Browse files Browse the repository at this point in the history
…xample from relu.py file (#20403)

`keras.layers.activations.ReLU API` throwing `AttributeError: module 'keras.api.layers' has no attribute 'activations'`.  Modified      it with`keras.layers.ReLU API.
  • Loading branch information
LakshmiKalaKadali authored Oct 24, 2024
1 parent a1de472 commit d4bb8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/src/layers/activations/relu.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ReLU(Layer):
Example:
``` python
relu_layer = keras.layers.activations.ReLU(
relu_layer = keras.layers.ReLU(
max_value=10,
negative_slope=0.5,
threshold=0,
Expand Down

0 comments on commit d4bb8e3

Please sign in to comment.