emailweixu-patch-1
qiaolongfei 7 years ago
parent df7c29e516
commit 6ed545b0d8

@ -154,7 +154,7 @@ def monkey_patch_variable():
("__rpow__", "elementwise_pow", True),
# for logical compare
("__eq__", "equal", False),
("__lt__", "less_then", False),
("__lt__", "less_than", False),
("__le__", "less_equal", False), ):
setattr(Variable, method_name,
_elemwise_method_creator_(method_name, op_type, reverse))

Loading…
Cancel
Save