提交 c2052266 authored 作者: affanv14's avatar affanv14 提交者: notoraptor

add num_groups to setstate

上级 155c9169
......@@ -517,6 +517,8 @@ class GpuDnnConvDesc(COp):
self.__dict__.update(d)
if not hasattr(self, "dilation"):
self.dilation = (1,) * len(self.subsample)
if not hasattr(self, "num_groups"):
self.num_groups = 1
# scalar constants
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论