提交 a04be875 authored 作者: Frederic Bastien's avatar Frederic Bastien

better error msg.

上级 2ac3c664
...@@ -316,6 +316,9 @@ class ConvOp(Op): ...@@ -316,6 +316,9 @@ class ConvOp(Op):
:param kshp_logical_top_aligned: idem :param kshp_logical_top_aligned: idem
""" """
assert isinstance(dx,int),'ConvOp.__init__ param dx must be an int'
assert isinstance(dy,int),'ConvOp.__init__ param dy must be an int'
all_shape = imshp is not None and kshp is not None and \ all_shape = imshp is not None and kshp is not None and \
nkern is not None and bsize is not None nkern is not None and bsize is not None
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论