提交 6ed545b0 编写于 作者: Q qiaolongfei

fix typo

上级 df7c29e5
...@@ -154,7 +154,7 @@ def monkey_patch_variable(): ...@@ -154,7 +154,7 @@ def monkey_patch_variable():
("__rpow__", "elementwise_pow", True), ("__rpow__", "elementwise_pow", True),
# for logical compare # for logical compare
("__eq__", "equal", False), ("__eq__", "equal", False),
("__lt__", "less_then", False), ("__lt__", "less_than", False),
("__le__", "less_equal", False), ): ("__le__", "less_equal", False), ):
setattr(Variable, method_name, setattr(Variable, method_name,
_elemwise_method_creator_(method_name, op_type, reverse)) _elemwise_method_creator_(method_name, op_type, reverse))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册