3 ms·
Isn't this the typical representation we used back then when working with LSTMs?
by alexmolas 3y ago
Isn't this the typical representation we used back then when working with LSTMs?
- sigmoid10 3y agoNo, because LSTMs are recurrent. You couldn't use the same algorithm outlined here. Instead you'd have to iteratively pass elements of the sequence through the same layer over and over.
- microtonal 3y agoYou are confused. The recurrence is within a layer, not between layers. The algorithm shown is for applying a stack of layers, but it doesn't really matter what the layers are. You can do the same (and people have been doing the same) with RNNs, convolutional networks, etc. In reality it would typically be more complex for decoders, because you want to pass along a cache (such as a key-value cache in a transformer), add residual connections, etc.