提交 efd5c612 authored 作者: Ying Zhang's avatar Ying Zhang

remove flake8 errors

上级 c3bf97b5
......@@ -4,10 +4,11 @@ import theano
import theano.tensor as T
from theano.tensor.opt import Assert
def test_assert_op_gradient():
x = T.vector('x')
assert_op = Assert()
cost = T.sum(assert_op(x, x.size<2))
cost = T.sum(assert_op(x, x.size < 2))
grad = T.grad(cost, x)
func = theano.function([x], grad)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论