提交 cb08bc11 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #3099 from nouiz/fix_flake8_version

Fix flake8 errors in travis that I don't have locally.
...@@ -788,7 +788,7 @@ class test_SoftMax(test_nnet.test_SoftMax): ...@@ -788,7 +788,7 @@ class test_SoftMax(test_nnet.test_SoftMax):
# Verify that the SoftmaxGrad -> GpuDnnSoftmaxGrad do not # Verify that the SoftmaxGrad -> GpuDnnSoftmaxGrad do not
# crash with manual graph # crash with manual graph
y = T.fvector('y') y = T.fvector('y')
o = theano.tensor.nnet.SoftmaxGrad()(y, y*2) o = theano.tensor.nnet.SoftmaxGrad()(y, y * 2)
f = theano.function([y], o, mode=mode_with_gpu) f = theano.function([y], o, mode=mode_with_gpu)
sorted_f = f.maker.fgraph.toposort() sorted_f = f.maker.fgraph.toposort()
assert(len([i assert(len([i
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论