提交 425e6345 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor reformatting

上级 8af710a0
...@@ -391,11 +391,11 @@ def scan(fn, ...@@ -391,11 +391,11 @@ def scan(fn,
if isinstance(outs_info[i], dict): if isinstance(outs_info[i], dict):
# DEPRECATED : # DEPRECATED :
if outs_info[i].get('return_steps', None): if outs_info[i].get('return_steps', None):
_logger.warning(("Using `return_steps` has been " _logger.warning(
"deprecated. Simply select the entries you " "Using `return_steps` has been deprecated. "
"need using a subtensor. Scan will optimize " "Simply select the entries you need using a "
"memory consumption, so do not worry about " "subtensor. Scan will optimize memory "
"that.")) "consumption, so do not worry about that.")
return_steps[i] = outs_info[i]['return_steps'] return_steps[i] = outs_info[i]['return_steps']
# END # END
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论