How to convert 2D layer to 1D and from 1D to 2D?
Show older comments
Helo,
I want to create an autoencoder architecture with 2D input and output (matrix) but inside I need 1D (fullyConnectedLayer) as a latent layer. How to do it? In Layer Library of Deep Network Designer I cannot see the useful "bricks".
Regards,
Greg
Answers (2)
David Willingham
on 6 Sep 2022
0 votes
Can you describe a little more about your application? I.e. what is your input, is it a matrix of signals or an image?
2 Comments
Grzegorz Klosowski
on 6 Sep 2022
Grzegorz Klosowski
on 6 Sep 2022
Edited: Grzegorz Klosowski
on 6 Sep 2022
Mandar
on 13 Dec 2022
0 votes
I understand that you want make an autoencoder network with specific hidden layer (latent layer) size.
You may refer the following documentation which shows how to create an autoencoder networks with specific hidden layer size, learning latent features and further stacking the latent layers to make a stacked autoencoder network with multiple hidden layers to learn effective latent features.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!