Apply to Softmax row
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
JaeHyeon Lee
il 26 Mag 2021
Risposto: Mahesh Taparia
il 31 Mag 2021
As far as I know, the Softmax function is applied per channel. How do I apply this per row? And how do I apply this to the custom layer
1 Commento
Risposta accettata
Mahesh Taparia
il 31 Mag 2021
Hi
It seems you want to perform the softmax function as per your data/feature dimension. In this case you can create a custom loss layer and define the softmax operation inside that as per your need. You can refer this documentation for custom loss function creation. Also, refer this documentation for custom training loop workflow. Moreover, refer this documentation for custom layer creation.
Hope it will help!
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!