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

a question about the "tanh" in "attention_cnn" module #12

Open
koyurion opened this issue Jan 28, 2021 · 0 comments
Open

a question about the "tanh" in "attention_cnn" module #12

koyurion opened this issue Jan 28, 2021 · 0 comments

Comments

@koyurion
Copy link

Hi, I have a question about the "attention_cnn" module.
In general, it uses "softmax" rather than "tanh" to get the weights. But as below, your code it uses "tanh", so I am a little confused. Are there some reasons to use like that? thanks!
image

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