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

Minor reformatting

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