提交 d812a0b3 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor indentation fix

上级 3fcfc45b
......@@ -337,7 +337,7 @@ def grad(cost, wrt, g_cost=None, consider_constant=None, warn_type=False,
if len(ret) == 1 and not (using_list or using_tuple):
# `wrt` was a single Variable, so we return a single Variable too.
return ret[0]
return ret[0]
else:
# Ensure we preserve the original type of `wrt`.
if using_tuple:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论