提交 2e480416 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

replace assertion from a strange formal to a more comformist one

上级 24617ff3
......@@ -3507,7 +3507,7 @@ class Join(Op):
raise NotImplementedError
# at this point the inputs have been broadcasted so they should
# all have the same shape
assert abs(len(shape) - n_dim) == 0
assert len(shape) == n_dim
out_shapes = []
for dim in xrange(n_dim):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论