Identity Bridge
Array.reduce()
=
RNN state accumulation
Signal Ward // Bridge #35
The connection
Both process a sequence element-by-element, carrying forward an accumulated state. reduce() builds a result by folding over an array; RNNs build a hidden state by folding over a sequence. Identical pattern.
Why "Identity"?
Identity bridges are the same concept in both domains. The code is identical or nearly identical.