提交 b15385f5 authored 作者: Frederic's avatar Frederic

remove deprecation warning

上级 2a326bcc
......@@ -417,8 +417,8 @@ class GpuDnnConv(DnnBase, COp):
return [(
b, nb,
(h + 2*padh - kh)/sh + 1,
(w + 2*padw - kw)/sw + 1
(h + 2*padh - kh)//sh + 1,
(w + 2*padw - kw)//sw + 1
)]
......@@ -731,8 +731,8 @@ class GpuDnnPool(DnnBase):
return [(
shape[0][0],
shape[0][1],
(shape[0][2] - kh)/sh + 1,
(shape[0][3] - kw)/sw + 1
(shape[0][2] - kh)//sh + 1,
(shape[0][3] - kw)//sw + 1
)]
def c_support_code_struct(self, node, name):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论