提交 1d3f1df6 authored 作者: notoraptor's avatar notoraptor

Small correction (typo, again).

上级 944f3a36
......@@ -1748,7 +1748,7 @@ class DownsampleFactorMaxGradGrad(OpenMPOp):
assert x.ndim == maxout.ndim == gz.ndim >= nd
if ws.dtype not in tensor.int_dtypes:
raise TypeError('Pool downsample parameters must be ints.')
if stride.dtypes not in tensor.int_dtypes:
if stride.dtype not in tensor.int_dtypes:
raise TypeError('Stride parameters must be ints.')
if pad.dtype not in tensor.int_dtypes:
raise TypeError('Padding parameters must be ints.')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论