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 ComplEx interaction #1103

Merged
merged 13 commits into from
Nov 20, 2022
Merged

↔️⭐ Merge ComplEx interaction #1103

merged 13 commits into from
Nov 20, 2022

Conversation

mberr
Copy link
Member

@mberr mberr commented Aug 31, 2022

This PR merges ComplEx' functional interaction with the (functional) module. It also de-duplicates information between the ComplEx model class and the interaction, and updates the docstring.

It is also intended to serve as an example on how to do #1102 .

@mberr mberr changed the title PoC: Merging Functional module Merge ComplEx interaction Sep 9, 2022
@mberr mberr changed the title Merge ComplEx interaction ↔️⭐ Merge ComplEx interaction Sep 9, 2022
@mberr mberr marked this pull request as ready for review September 9, 2022 08:22
@mberr mberr requested a review from cthoyt September 10, 2022 16:28
@mberr mberr enabled auto-merge (squash) November 20, 2022 13:27
@mberr mberr merged commit 064ac4a into master Nov 20, 2022
@mberr mberr deleted the merge-functional branch November 20, 2022 13:43
@@ -30,6 +30,7 @@ class ComplExTests(cases.InteractionTestCase):
cls = pykeen.nn.modules.ComplExInteraction
dtype = torch.cfloat

# TODO: we could move this part into the interaction module itself
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that might be helpful eventually so code is more centralized

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

Successfully merging this pull request may close these issues.

None yet

2 participants