提交 e90d2c9b authored 作者: Ian Goodfellow's avatar Ian Goodfellow

cleaner indentation

上级 12768c0e
...@@ -1263,8 +1263,7 @@ class Scan(PureOp): ...@@ -1263,8 +1263,7 @@ class Scan(PureOp):
for x in consider_inps: for x in consider_inps:
try: try:
gmp[x] = gradient.grad(cost=None, gmp[x] = gradient.grad(cost=None,
known_grads={y: g_y}, known_grads={y: g_y}, wrt=x)
wrt=x)
except gradient.NullTypeGradError: except gradient.NullTypeGradError:
# It means the gradient is undefined (which implies # It means the gradient is undefined (which implies
# is connected) # is connected)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论