提交 779ac6df authored 作者: Frederic Bastien's avatar Frederic Bastien

added assert.

上级 dce31798
......@@ -208,6 +208,7 @@ using namespace std;
def c_code(self, node, name, (img2d, filtersflipped), (z, ), sub):
if node.inputs[0].type.dtype != node.inputs[1].type.dtype:
raise NotImplementedError()
assert node.inputs[0].type.dtype == node.inputs[1].type.dtype
d=locals()
d.update(sub)
d["self_out_mode"]=self.out_mode
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论