Skip to content

Commit

Permalink
Update keras-metadata.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Oct 27, 2024
1 parent 37cd97e commit b9d7b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/keras-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"examples": [
{
"code": ">>> layer = keras.layers.Activation('relu')\n>>> layer([-3.0, -1.0, 0.0, 2.0])\n[0.0, 0.0, 0.0, 2.0]\n>>> layer = keras.layers.Activation(keras.activations.relu)\n>>> layer([-3.0, -1.0, 0.0, 2.0])\n[0.0, 0.0, 0.0, 2.0]"
"code": ">>> layer = keras.layers.Activation('relu')\n>>> layer(np.array([-3.0, -1.0, 0.0, 2.0]))\n[0.0, 0.0, 0.0, 2.0]\n>>> layer = keras.layers.Activation(keras.activations.relu)\n>>> layer(np.array([-3.0, -1.0, 0.0, 2.0]))\n[0.0, 0.0, 0.0, 2.0]"
}
]
},
Expand Down

0 comments on commit b9d7b8a

Please sign in to comment.