提交 49d066b9 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix test for python 3

上级 24690dec
......@@ -10,7 +10,6 @@ def test_numpy_method():
x = tt.dmatrix('x')
data = np.random.rand(5, 5)
for fct in [np.exp]:
print fct
y = fct(x)
f = theano.function([x], y)
utt.assert_allclose(f(data), fct(data))
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论