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

提问:网络框架图与代码的对应关系 #2

Open
songyuanbing6 opened this issue Mar 9, 2021 · 0 comments
Open

提问:网络框架图与代码的对应关系 #2

songyuanbing6 opened this issue Mar 9, 2021 · 0 comments

Comments

@songyuanbing6
Copy link

1.网络框架图中 self attention layer 是否 对应于代码mpn.py 中的self.attention = args.attention语句?
2.fully connect layer 是否对应于代码
if self.attention:
self.W_a = nn.Linear(self.hidden_size, self.hidden_size, bias=self.bias)
self.W_b = nn.Linear(self.hidden_size, self.hidden_size)

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