提交 e9e679cd authored 作者: Cesar Laurent's avatar Cesar Laurent

Fix for variables without broadcastable.

上级 cee89702
......@@ -413,6 +413,9 @@ class Scan(PureOp):
which may wrongly be interpreted as broadcastable.
"""
if (not hasattr(v1, 'broadcastable') and
not hasattr(v2, 'broadcastable')):
return
msg = ("The broadcast pattern of the output of scan (%s) is "
"inconsistent with the one provided in `output_info` "
"(%s). The output on axis %d is `%r`, but it is `%r` on "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论