트포 multi head self attention은 이해가는데

왜 seq2seq 어텐션은 이해가 안가지..


어떤 코드는 Decoder input이랑 Encoder hidden state랑 concat하고 FC로 보낸 다음 softmax 거쳐서 attention distribution 구하고

어떤 코드는 Decoder input이랑 Encoder hidden state랑 matmul하고 바로 softmax 거쳐서 attention distribution 구하고


근데 또 논문 읽어보면 전자가 맞는거같은데 하고 ㅅㅂ 개복잡하네