提交 eb0ee053 authored 作者: Pascal Lamblin's avatar Pascal Lamblin 提交者: GitHub

Merge pull request #11 from notoraptor/test-pr-5336

Remove printing in test.
...@@ -5491,5 +5491,4 @@ def test_default_value_broadcasted(): ...@@ -5491,5 +5491,4 @@ def test_default_value_broadcasted():
gW_x = theano.tensor.grad(cost, W_x) gW_x = theano.tensor.grad(cost, W_x)
updates = [(W_x, W_x - 0.1 * gW_x)] updates = [(W_x, W_x - 0.1 * gW_x)]
f = theano.function([X], outputs=cost, updates=updates) f = theano.function([X], outputs=cost, updates=updates)
test = f(numpy.random.rand(10, in_size).astype(X.dtype)) f(numpy.random.rand(10, in_size).astype(X.dtype))
print(test)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论