MATLAB Answers

Reshape layer in deep learning

33 views (last 30 days)
KB
KB on 14 May 2019
Answered: ahmed ismail on 4 Oct 2019
I want to try out a deep learning architecture which first does fully connected layers and then transitions into image convolutions. So after the fully connected layers I want to reshape the weights from a vector into a image like matrix. Is there a reshape layer within the Deep learning toolbox which does this?

  0 Comments

Sign in to comment.

Accepted Answer

Shivam Sardana
Shivam Sardana on 22 May 2019
There is no reshape layer in MATLAB which changes output from fully connected layer into image like matrix. You can create a custom deep learning layer to solve this problem. You can refer to this documentation link for more details on creating a custom layer: https://www.mathworks.com/help/deeplearning/ug/define-custom-deep-learning-layers.html
Hope this helps.

  0 Comments

Sign in to comment.

More Answers (1)

ahmed ismail
ahmed ismail on 4 Oct 2019
any help to implement this layer

  0 Comments

Sign in to comment.

Sign in to answer this question.