Learn Before
Concept

Pooling Layer in RNN

For all hidden state vectors in a recurrent neural network, a pooling function can be applied to compute their element-wise mean: hmean=1ni=1nhi\mathbf{h}_{\text{mean}} = \frac{1}{n} \sum_{i=1}^{n} \mathbf{h}_{i} Alternatively, an element-wise maximum can also be used as the pooling function.

0

1

Updated 2026-06-13

Tags

Data Science