提交 1d66ef10 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fixed bug in min_informative_str

上级 8286d675
...@@ -987,7 +987,7 @@ def min_informative_str(obj, indent_level=0, ...@@ -987,7 +987,7 @@ def min_informative_str(obj, indent_level=0,
indent = ' ' * indent_level indent = ' ' * indent_level
if id(obj) in _prev_obs: if id(obj) in _prev_obs:
tag = _prev_obs[obj] tag = _prev_obs[id(obj)]
return indent + '<' + tag + '>' return indent + '<' + tag + '>'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论