WLJS LogoWLJS Notebook

SequenceReverseLayer

SequenceReverseLayer[] represents a net that reverses the order of an input sequence.

This layer is used in neural networks to reverse temporal or sequential data.

Examples

SequenceReverseLayer[]
layer = SequenceReverseLayer[];
layer[{{1, 2, 3}, {4, 5, 6}}]
NetChain[{SequenceReverseLayer[], LongShortTermMemoryLayer[10]}]

*See the official Wolfram Language Reference for more details.

On this page