提交 25236cf4 authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Thomas Wiecki

Remove assertion that broke from static shapes

Closes #160
上级 2d8ea781
...@@ -1194,7 +1194,6 @@ def local_IncSubtensor_serialize(fgraph, node): ...@@ -1194,7 +1194,6 @@ def local_IncSubtensor_serialize(fgraph, node):
tip = new_add tip = new_add
for mi in movable_inputs: for mi in movable_inputs:
assert o_type.is_super(tip.type) assert o_type.is_super(tip.type)
assert mi.owner.inputs[0].type.is_super(tip.type)
tip = mi.owner.op(tip, *mi.owner.inputs[1:]) tip = mi.owner.op(tip, *mi.owner.inputs[1:])
# Copy over stacktrace from outputs of the original # Copy over stacktrace from outputs of the original
# "movable" operation to the new operation. # "movable" operation to the new operation.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论