提交 31bd05df authored 作者: Nouiz's avatar Nouiz

fix test in float32.

上级 395b5938
......@@ -47,7 +47,7 @@ def check_upper_triangular(pd, ch_f):
def test_cholesky():
rng = numpy.random.RandomState(utt.fetch_seed())
r = rng.randn(5, 5)
r = rng.randn(5, 5).astype(config.floatX)
pd = numpy.dot(r, r.T)
x = tensor.matrix()
chol = cholesky(x)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论