提交 749a492d authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Don't use uninitialized memory.

上级 a2c8ce98
......@@ -130,7 +130,7 @@ class TestConv3D(utt.InferShapeTester):
self.rb.name = 'rb'
self.V = shared(N.ndarray(shape=(1, 1, 1, 1, 1), dtype=floatX))
self.V.name = 'V'
self.d = shared(N.ndarray(shape=(3, ), dtype=int))
self.d = shared(N.ones(shape=(3, ), dtype=int))
self.d.name = 'd'
self.H = conv3D(self.V, self.W, self.b, self.d)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论