Skip to content

Commit df5c6ed

Browse files
committed
Array-like behaviour for TransformedVariable.__eq__ and TransformedVariable.__ne__
1 parent a91efeb commit df5c6ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tensorflow_probability/python/util/deferred_tensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class TensorMetaClass(type):
8383

8484
def __new__(mcs, name, bases, attrs):
8585
operators = set(tf.Tensor.OVERLOADABLE_OPERATORS)
86-
operators.difference_update({'__eq__', '__ne__'})
8786
operators.update({'__iter__'})
8887
attrs.update((attr, _wrap_method(attr)) for attr in operators)
8988

0 commit comments

Comments
 (0)