Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于位置编码的疑问 #33

Open
WateverOk opened this issue Dec 30, 2024 · 0 comments
Open

关于位置编码的疑问 #33

WateverOk opened this issue Dec 30, 2024 · 0 comments

Comments

@WateverOk
Copy link

为什么在Swin的代码中,位置编码是在QKV映射之后加入到K上的呢?常规操作不是应该在QKV映射之前加到X上嘛?请问这样做的考虑是什么呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant