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 5b578b2 commit e2210efCopy full SHA for e2210ef
pytensor/tensor/math.py
@@ -776,7 +776,7 @@ def eq(a, b):
776
777
Notes
778
-----
779
- Due to Python rules, it is not possible to correctly overload the equality symbol `==` for hashable objects,
+ Due to Python rules, it is not possible to overload the equality symbol `==` for hashable objects and have it return something other than a boolean,
780
so `eq` must always be used to compute the Elemwise equality of TensorVariables (which are hashable).
781
"""
782
0 commit comments