We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27bcdce commit a50fdf8Copy full SHA for a50fdf8
keras/src/layers/activations/softmax.py
@@ -22,9 +22,10 @@ class Softmax(Layer):
22
```
23
24
Example:
25
- >>>softmax_layer = keras.layers.activations.Softmax()
26
- >>>input = np.array([1.0, 2.0, 1.0])
27
- >>>result = softmax_layer(input)
+ >>> softmax_layer = keras.layers.activations.Softmax()
+ >>> input = np.array([1.0, 2.0, 1.0])
+ >>> result = softmax_layer(input)
28
+ >>> result
29
[0.21194157, 0.5761169, 0.21194157]
30
31
0 commit comments