How to designthe SAGAN self attention layer?

조회 수: 46(최근 30일)
Michael Keeling
Michael Keeling 2020년 7월 9일
댓글: fneg 2021년 7월 3일
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
fneg
fneg 2021년 7월 3일
Hi, have you been able to implement this attention block in matlab?

댓글을 달려면 로그인하십시오.

답변(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:

Community Treasure Hunt

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

Start Hunting!

Translated by