提交 8453f1f0 authored 作者: khaotik's avatar khaotik

flake8

上级 4af5f8ad
...@@ -1228,7 +1228,8 @@ def _populate_grad_dict(var_to_app_to_idx, ...@@ -1228,7 +1228,8 @@ def _populate_grad_dict(var_to_app_to_idx,
# Check that op.connection_pattern matches the connectivity # Check that op.connection_pattern matches the connectivity
# logic driving the op.grad method # logic driving the op.grad method
for i, (ipt, ig, connected) in enumerate( for i, (ipt, ig, connected) in enumerate(
zip(inputs, input_grads, inputs_connected)): zip(inputs, input_grads, inputs_connected)
):
actually_connected = \ actually_connected = \
not isinstance(ig.type, DisconnectedType) not isinstance(ig.type, DisconnectedType)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论