提交 5d20f1f4 authored 作者: Guillaume Desjardins's avatar Guillaume Desjardins 提交者: Frederic

Fixed bug in test: numpy.cov was reconverting float32 => float64, which thus

failed with floatX=float32.
上级 bb327258
......@@ -368,7 +368,7 @@ def test_spectral_radius_bound():
f = theano.function([x], radius_bound)
shp = (3, 4)
m = rng.rand(*shp).astype(config.floatX)
m = rng.rand(*shp)
m = numpy.cov(m).astype(config.floatX)
radius_bound_theano = f(m)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论