提交 92d4098f authored 作者: Ian Goodfellow's avatar Ian Goodfellow

update Scan.grad (Razvan wrote this line)

上级 05e5bf79
...@@ -1305,7 +1305,7 @@ class Scan(PureOp): ...@@ -1305,7 +1305,7 @@ class Scan(PureOp):
# 7.3. compute gradients of the inputs given one output # 7.3. compute gradients of the inputs given one output
for dx, out in enumerate(clean_outputs): for dx, out in enumerate(clean_outputs):
inner_g_out = safe_new(out) inner_g_out = safe_new(g_outs[dx][0])
### ###
#### I need to clip the gradient HERE !! #### I need to clip the gradient HERE !!
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论