flattenLayer
Flatten layer
Description
A flatten layer collapses the spatial dimensions of the input into the channel dimension.
For example, if the input to the layer is an H-by-W-by-C-by-N-by-S array (sequences of images), then the flattened output is an (H*W*C)-by-N-by-S array.
Creation
Properties
Object Functions
Examples
Algorithms
Extended Capabilities
Version History
Introduced in R2019aSee Also
dlnetwork | lstmLayer | bilstmLayer | gruLayer | sequenceInputLayer | exportNetworkToSimulink | Flatten Layer
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