提交 9e674cb6 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Fix a test.

上级 93540f1d
...@@ -1349,7 +1349,7 @@ class test_matinv(unittest.TestCase): ...@@ -1349,7 +1349,7 @@ class test_matinv(unittest.TestCase):
# use the function # use the function
x = numpy.random.rand(dim,dim)+0.1 # Initialized s.t. x is not too tiny x = numpy.random.rand(dim,dim)+0.1 # Initialized s.t. x is not too tiny
w = numpy.random.rand(dim,dim) w = numpy.random.rand(dim,dim)
for i in xrange(300): for i in xrange(100):
ssd, gw = fn(x,w) ssd, gw = fn(x,w)
#print ssd, x*w, x, w #print ssd, x*w, x, w
if i == 0: if i == 0:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论