Deep learning convolution3dLayer output structure

I want to add a custom layer after application of a convolution3dLayer, and need to know the order of the planes generated. For example if I have a 3x3x3 input and apply a 3x3x2 3dconv with depth of 2 and 4 features output, does the depth change take order precedence over the feature order or feature before depth. I would think the former with output like (f1d1, f1d2, f2d1, f2d2, f3d1, f3d2, f4d1, f4d2) and not (f1d1, f2d1, f3d1, f4d1, f1d2, f2d2, f3d2, f4d2) where f = feature and d = depth of the weight.

댓글 수: 3

Sai Bhargav Avula
Sai Bhargav Avula 2019년 10월 23일
편집: Sai Bhargav Avula 2019년 10월 24일
Can give me more detailed about the last line you mentioned ?
While probing the deep learning toolbox with various architectures and reviewing some of Mathworks examples this week, I determined that the answer is the depth (channel) planes and feature planes that are output from a 3dconv are stored in different array indices, and thus depths/features are not concatenated together in one index - which was the source of my question on the ordering. The DL documentation could use a pictoral diagram of the 3d convolution process and description of the array structure output, especially the fact that the sliding 3d volume over height/width/depth also sums across the feature space, which is consistent with the way 2dconv works. It is just not mentioned explicitly. The multi-dimensional process was critical for understanding how I could get a complex input to process with complex arithmetic using just the real DL toolbox functionality on a first layer and then collapse that by taking the magnitude of the output's real and imaginary components. Another documentation problem concerns building custom layers, as insufficient examples are given. Can we see the ReLU class, maxpooling class, or conv2d class implementation as additional guides. Example of how to use the layer concatenation capability or how the grouped convolution works pictorially.
Sai Bhargav Avula
Sai Bhargav Avula 2019년 10월 24일
편집: Sai Bhargav Avula 2019년 10월 24일
The Deep Learning toolbox is updated continiously and I have escalated all the above mentioned concerns to the respective team.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2019년 10월 17일

편집:

2019년 10월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by