提交 2be519a7 authored 作者: carriepl's avatar carriepl

flake8

上级 9258d425
...@@ -1809,7 +1809,7 @@ class Scan(PureOp): ...@@ -1809,7 +1809,7 @@ class Scan(PureOp):
# it will be the sum of the external gradient signal and the # it will be the sum of the external gradient signal and the
# gradient obtained by propagating Y's external gradient signal # gradient obtained by propagating Y's external gradient signal
# to X. # to X.
known_grads = dict([(k.copy(),v) for (k,v) in known_grads.items()]) known_grads = dict([(k.copy(), v) for (k, v) in known_grads.items()])
grads = gradient.grad( grads = gradient.grad(
cost=None, cost=None,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论