Comment Comment by isaacfung Maybe it's easier to understand in the format of annotated codehttps://nlp.seas.harvard.edu/2018/04/03/attention.html parent isaacfung 2 years ago
https://nlp.seas.harvard.edu/2018/04/03/attention.html