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

Merge Module is Depreciated #10

Open
Xeonen opened this issue Jun 29, 2018 · 2 comments
Open

Merge Module is Depreciated #10

Xeonen opened this issue Jun 29, 2018 · 2 comments

Comments

@Xeonen
Copy link

Xeonen commented Jun 29, 2018

similarity = merge([target, context], mode='cos', dot_axes=0)

@bledson
Copy link

bledson commented Jul 18, 2018

@Xeonen can you help me with this? with the new api, how this line shall be?

@kevkid
Copy link

kevkid commented Aug 23, 2018

If I am not mistaken it should be:

similarity = dot([target, context], normalize=True, axes=0)
dot_product = dot([target, context], normalize=False, axes=1)

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

3 participants