This was my python code:
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import SimpleRNN
Model = Sequential([
SimpleRNN(2, input_shape=(2,2))
])
print(Model.summary())
The output was:
Model: "sequential_23"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
simple_rnn_10 (SimpleRNN) (None, 2) 10
=================================================================
Total params: 10
Trainable params: 10
Non-trainable params: 0
_________________________________________________________________
None
I don't understand why the Number of parameters is 10.