提交 1f307360 authored 作者: Frederic's avatar Frederic

Correctly remove the internal theano trace. As we return only 1 level to the…

Correctly remove the internal theano trace. As we return only 1 level to the user, this made us return useless information.
上级 f5fda196
......@@ -87,6 +87,7 @@ def add_tag_trace(thing, user_line=1):
file_path = tr[-1][0]
rm = False
for p in ["theano/tensor/", "theano\\tensor\\",
"theano/compile/", "theano\\compile\\",
"theano/gof/", "theano\\gof\\",
"theano/scalar/basic.py", "theano\\scalar\\basic.py",
"theano/sandbox/", "theano\\sandbox\\",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论