提交 1b6e3b78 authored 作者: Iulian Vlad Serban's avatar Iulian Vlad Serban

Fixed trailing white spaces.

上级 66b29241
...@@ -336,7 +336,7 @@ class FunctionGraph(utils.object2): ...@@ -336,7 +336,7 @@ class FunctionGraph(utils.object2):
if len(tr) > 0: if len(tr) > 0:
detailed_err_msg += "\nBacktrace when the variable is created:\n" detailed_err_msg += "\nBacktrace when the variable is created:\n"
# Print separate message for each element in # Print separate message for each element in
# the list of batcktraces # the list of batcktraces
sio = StringIO() sio = StringIO()
for subtr in tr: for subtr in tr:
......
...@@ -160,7 +160,7 @@ def raise_with_op(node, thunk=None, exc_info=None, storage_map=None): ...@@ -160,7 +160,7 @@ def raise_with_op(node, thunk=None, exc_info=None, storage_map=None):
tr = getattr(node.outputs[0].tag, 'trace', []) tr = getattr(node.outputs[0].tag, 'trace', [])
if len(tr) > 0: if len(tr) > 0:
detailed_err_msg += "\nBacktrace when the node is created:\n" detailed_err_msg += "\nBacktrace when the node is created:\n"
# Print separate message for each element in the list of batcktraces # Print separate message for each element in the list of batcktraces
sio = StringIO() sio = StringIO()
for subtr in tr: for subtr in tr:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论