提交 487ffa21 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

misspelled variable name

上级 5e26b8f3
......@@ -838,6 +838,6 @@ def hessian(cost, wrt, consider_constant=None, warn_type=False,
if use_list and not isinstance(hessians, (list, tuple)):
return [hessians]
elif not use_list and isinstance(hessians, (list, tuple)):
return hessianss[0]
return hessians[0]
else:
return hessians
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论