提交 5a4e453e authored 作者: Frederic's avatar Frederic

Add error about the missing implementation.

上级 41ab0389
...@@ -522,6 +522,12 @@ class GpuConvMM(GpuOp): ...@@ -522,6 +522,12 @@ class GpuConvMM(GpuOp):
self.kshp = kshp self.kshp = kshp
self.imshp = imshp self.imshp = imshp
self.pad = pad self.pad = pad
if pad != 0:
raise NotImplementedError(
"GpuConvMM don't implement the pad parameter")
if subsample != (1, 1):
raise NotImplementedError(
"GpuConvMM we don't implement the subsample parameter")
def __eq__(self, other): def __eq__(self, other):
return type(self) == type(other) \ return type(self) == type(other) \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论