sequenceFoldingLayer
(Not recommended) Sequence folding layer
SequenceFoldingLayer
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
SequenceFoldingLayer
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 folding layer converts a batch of image sequences to a batch of images. Use a sequence folding layer to perform convolution operations on time steps of image sequences independently.
To use a sequence folding layer, you must connect the miniBatchSize
output to the miniBatchSize
input of the corresponding sequence
unfolding layer.
Creation
Description
creates
a sequence folding layer.layer
= sequenceFoldingLayer
Properties
Examples
Extended Capabilities
Version History
Introduced in R2019aSee Also
dlnetwork
| lstmLayer
| bilstmLayer
| gruLayer
| flattenLayer
| sequenceUnfoldingLayer
| sequenceInputLayer
Topics
- Classify Videos Using Deep Learning
- Sequence Classification Using Deep Learning
- Time Series Forecasting Using Deep Learning
- Sequence-to-Sequence Classification Using Deep Learning
- Visualize Activations of LSTM Network
- Long Short-Term Memory Neural Networks
- Deep Learning in MATLAB
- List of Deep Learning Layers