How to designthe SAGAN self attention layer?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/329612/image.png)
paper at: https://arxiv.org/abs/1805.08318
I'm curious if the self-attention layer described in this paper could be implemented in MATLAB. Would it require a custom layer to construct? Does not seem feasible inside the Deep Network Designer. I'd appreciate a pointer in the right direction.
Thank you!
1 commentaire
Réponses (1)
Divya Gaddipati
le 23 Juil 2020
You would have to create a custom layer. If you are using R2020a version, you'll be able to load the custom layer into the Deep Network Designer from the workspace.
You can refer to the following link for information on creating a custom layer:
0 commentaires
Voir également
Catégories
En savoir plus sur Image Data Workflows 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!