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 little confusion about the tensor calculation in matching. #42

Open
Chester-zZz opened this issue Jun 26, 2018 · 0 comments
Open

A little confusion about the tensor calculation in matching. #42

Chester-zZz opened this issue Jun 26, 2018 · 0 comments

Comments

@Chester-zZz
Copy link

Hi, I like your work, and your code is decent. But I'm a little confused about the tensor calculation in matching. In match_utils.py, function multi_perspective_match:

mp_cosine_matching = layer_utils.cosine_distance(tf.multiply(repres1_flat, mp_cosine_params),
                                                             repres2_flat, cosine_norm=False)

Why only tf.multiply(repres1_flat, mp_cosine_params) , but not tf.multiply(repres2_flat, mp_cosine_params) as well ? In your paper, W is multiplied by both v1 and v2.

Looking forward to reply, thanks!

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