We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98aa196 commit 6133c24Copy full SHA for 6133c24
jax/_src/aot_util.py
@@ -43,7 +43,7 @@ def __hash__(self):
43
return hash(self.user_key)
44
45
def __eq__(self, other):
46
- return hash(self) == hash(other)
+ return isinstance(other, ComponentKey) and self.user_key == other.user_key
47
48
def __str__(self):
49
return self.user_key
0 commit comments