CNN Layers: high pass filters and truncation layer

5 次查看(过去 30 天)
I would like to create two layers for my CNN design where the input image is high-pass filtered via convolution with 16 (4 × 4) high-pass DCT filters, and then a Truncation layer (Truncation Linear Unit) activation function.
These layers are not built in matlab deep learning toolbox. How can I make them?
Thank you in adavance!

采纳的回答

Srivardhan Gadila
Srivardhan Gadila 2020-12-17
You can write your own Custom Layer using Deep Learning Toolbox in MATLAB. To get started you can refer to Define Custom Deep Learning Layers & Deep Learning Custom Layers.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by