Azzera filtri
Azzera filtri

Maxpooling layer in MLP

1 visualizzazione (ultimi 30 giorni)
수원 김
수원 김 il 8 Lug 2021
Hello community,
I am struggling with creating custom layer since MATLAB doesn't have maxpooling layer for 1d, specifically for MLP. Can any help me out with this? Thank you very very much in advance.
Best,
Soowon

Risposte (1)

Aparajith Raghuvir
Aparajith Raghuvir il 8 Lug 2021
I understand you require a 1D maxpooling layer. You may find this function useful - maxpool. The documentation details how it can be used for 1D maxpooling. You may also access the documentation via the following command:
doc maxpool
I hope this helps.
  2 Commenti
수원 김
수원 김 il 8 Lug 2021
Thank you for your reply. Can you help me out finding the backward function for maxpool? I am having trouble with implementing it.
Aparajith Raghuvir
Aparajith Raghuvir il 12 Lug 2021
There is no back propagation done in this maxpool function. I can try and help you better if you can share the code that you have so far.

Accedi per commentare.

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by