Learn Before
Concept

Pooling Layer in RNN

For the parameters of all hidden states in a recurrent neural network, a pooling function can be applied to take their element-wise mean:

hmean =1ni=1nhi\mathbf{h}_{\text {mean }}=\frac{1}{n} \sum_{i=1}^{n} \mathbf{h}_{i}

Element-wise max values is also an option for the pooling function.

0

1

Updated 2021-11-14

Tags

Data Science