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

Remove numpy deprecation warning

上级 b0cb1c2b
......@@ -412,10 +412,10 @@ class TestConv3D(utt.InferShapeTester):
H_shape = self.H_shape_func()
# make index maps
h = N.zeros(H_shape[1:])
r = N.zeros(H_shape[1:])
c = N.zeros(H_shape[1:])
t = N.zeros(H_shape[1:])
h = N.zeros(H_shape[1:], dtype='int32')
r = N.zeros(H_shape[1:], dtype='int32')
c = N.zeros(H_shape[1:], dtype='int32')
t = N.zeros(H_shape[1:], dtype='int32')
for qi in xrange(0, H_shape[4]):
h[:, :, :, qi] = qi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论