CNN Layers: high pass filters and truncation layer

1 vue (au cours des 30 derniers jours)
Nour Mohamed
Nour Mohamed le 6 Déc 2020
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!

Réponse acceptée

Srivardhan Gadila
Srivardhan Gadila le 17 Déc 2020
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.

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by