提交 23291abd 编写于 作者: M minqiyang

Polish code

上级 7c767a44
......@@ -6540,7 +6540,8 @@ for func in [
def _logical_op(op_name, x, y, out=None, name=None, binary_op=True):
helper = LayerHelper(op_name, **locals())
assert x.dtype == y.dtype
if binary_op:
assert x.dtype == y.dtype
if out is None:
if name is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册