Sequence unfolding layer
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. For an example, see Create Network for Video Classification.
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.
bilstmLayer
| classifyAndUpdateState
| flattenLayer
| gruLayer
| lstmLayer
| predictAndUpdateState
| resetState
| sequenceFoldingLayer
| sequenceInputLayer