How to designthe SAGAN self attention layer?

3 次查看(过去 30 天)
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 个)

Divya Gaddipati
Divya Gaddipati 2020-7-23
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:

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by