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

🚚🪞Make sure inductive representation is on same device #1229

Merged
merged 5 commits into from
Feb 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typing
  • Loading branch information
mberr authored Feb 22, 2023
commit d6b160e551e57b960aa1ad4a4749cddc0b436ce9
2 changes: 1 addition & 1 deletion src/pykeen/models/inductive/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class InductiveERModel(ERModel):

#: a mapping from inductive mode to corresponding entity representations
#: note: there may be duplicate values, if entity representations are shared between validation and testing
_mode_to_representations: Mapping[InductiveMode, Sequence[Representation]]
_mode_to_representations: Mapping[str, Sequence[Representation]]

def __init__(
self,
Expand Down