提交 9e1af385 编写于 作者: H huangjun12 提交者: chajchaj

fix unit test bug

上级 104c82b1
......@@ -487,11 +487,11 @@ def local_response_norm(x,
'Expected 3D or higher dimensionality input, but got {} dimensions'.
format(dim))
for i, size in enumerate(sizes):
if not size > 0:
for i, sz in enumerate(sizes):
if not sz > 0:
raise ValueError("Expected every dim's size to be larger than 0, "
"but the size of the {}-th dim is {}".format(i,
size))
sz))
channel_last = True if data_format[-1] == "C" else False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册