Fix misleading docstrings
Passing None is not equivalent to "not specifying an activation function"; the latter results in the default parameter value of 'tanh' being used.
@@ -373,7 +373,7 @@ class SimpleRNN(Recurrent):
units: Positive integer, dimensionality of the output space.
activation: Activation function to use
(see [activations](../activations.md)).
- If you don't specify anything, no activation is applied
+ If you pass None, no activation is applied
(ie. "linear" activation: `a(x) = x`).
use_bias: Boolean, whether the layer uses a bias vector.
kernel_initializer: Initializer for the `kernel` weights matrix,
@@ -585,7 +585,7 @@ class GRU(Recurrent):
units: Positive integer, dimensionality of the output space.
activation: Activation function to use
(see [activations](../activations.md)).
- If you don't specify anything, no activation is applied
+ If you pass None, no activation is applied
(ie. "linear" activation: `a(x) = x`).
recurrent_activation: Activation function to use
for the recurrent step
@@ -858,7 +858,7 @@ class LSTM(Recurrent):
units: Positive integer, dimensionality of the output space.
activation: Activation function to use
(see [activations](../activations.md)).
- If you don't specify anything, no activation is applied
+ If you pass None, no activation is applied
(ie. "linear" activation: `a(x) = x`).
recurrent_activation: Activation function to use
for the recurrent step
