How to design a locally connected layer for use in a convolution neural network??

1 次查看(过去 30 天)
I am trying to replicate the architecture found in this paper (https://www.nature.com/articles/srep36571), but the deepNetworkDesigner app does not have a locally connected layer. The best alternative I found is to use the 2d convolution but with 1x1 filter size to approximate the 1d convolution behavior (https://stackoverflow.com/questions/50388014/1d-convolution-for-cnn). According to (https://keras.io/api/layers/locally_connected_layers/locall_connected1d/) the locally connected layer is similar to 1d convolution, except the weights are unshared.
How can I go about actually making a proper 1d convolution layer?

回答(1 个)

Srivardhan Gadila
Srivardhan Gadila 2020-10-30
You can refer to Define Custom Deep Learning Layers & Deep Learning Custom Layers and implement your own custom deep learning layer.
  1 个评论
Michael Houston
Michael Houston 2020-11-2
Thank you, Srivardhan. While I will definitely be using this to create the custom layer my main issue is the construction of the layer itself. I am not too familiar with deep learning but I appreciate any tips/hints to help me design the locally connected layer!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by