sequenceUnfoldingLayer
(Not recommended) Sequence unfolding layer
SequenceUnfoldingLayer
objects are not recommended. Most neural
networks specified as a dlnetwork
object do not require sequence folding and
unfolding layers. In most cases, deep learning layers have the same behavior when there is no
folding or unfolding layer. Otherwise, instead of using a SequenceUnfoldingLayer
to
manipulate the dimensions of data for downstream layers, define a custom layer functionLayer
layer
object that operates on the data directly. For more information, see Version History.
Description
A sequence unfolding layer restores the sequence structure of the input data after sequence folding.
To use a sequence unfolding layer, you must connect the miniBatchSize
output of the corresponding sequence folding layer to the miniBatchSize
input of the sequence unfolding layer.
Creation
Description
creates a
sequence unfolding layer.layer
= sequenceUnfoldingLayer
creates a sequence unfolding layer and sets the optional layer
= sequenceUnfoldingLayer('Name',Name
)Name
property using a name-value pair. For example,
sequenceUnfoldingLayer('Name','unfold1')
creates a sequence unfolding
layer with the name 'unfold1'
. Enclose the property name in single
quotes.
Properties
Examples
Extended Capabilities
Version History
Introduced in R2019aSee Also
lstmLayer
| bilstmLayer
| gruLayer
| sequenceFoldingLayer
| flattenLayer
| sequenceInputLayer
Topics
- Classify Videos Using Deep Learning
- Classify Videos Using Deep Learning
- Sequence Classification Using Deep Learning
- Time Series Forecasting Using Deep Learning
- Sequence-to-Sequence Classification Using Deep Learning
- Long Short-Term Memory Neural Networks
- Visualize Activations of LSTM Network
- Deep Learning in MATLAB
- List of Deep Learning Layers