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

spelling

上级 e90d2c9b
...@@ -816,7 +816,7 @@ def _populate_grad_dict(var_to_node_to_idx, ...@@ -816,7 +816,7 @@ def _populate_grad_dict(var_to_node_to_idx,
# If an output is of an integer dtype, then we just leave it # If an output is of an integer dtype, then we just leave it
# alone. # alone.
# DO NOT force integer variables to have zero grad. This causes # DO NOT force integer variables to have zero grad. This causes
# bugs where we fail to detect disconected or undefined gradients. # bugs where we fail to detect disconnected or undefined gradients.
# DO NOT force integer variables to have integer dtype. This is # DO NOT force integer variables to have integer dtype. This is
# a violation of the op contract. # a violation of the op contract.
new_output_grads = [] new_output_grads = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论