提交 dee95ece authored 作者: Frederic's avatar Frederic

remove variable not used.

上级 63486ff1
...@@ -613,7 +613,6 @@ class ProfileStats(object): ...@@ -613,7 +613,6 @@ class ProfileStats(object):
#Find the function that used the most of that statistic #Find the function that used the most of that statistic
max_sum_size = 0 max_sum_size = 0
max_node_memory_size = 0 max_node_memory_size = 0
max_running_memory_size = 0
max_running_max_memory_size = 0 max_running_max_memory_size = 0
max_node_memory_saved_by_view = 0 max_node_memory_saved_by_view = 0
max_node_memory_saved_by_inplace = 0 max_node_memory_saved_by_inplace = 0
...@@ -673,8 +672,6 @@ class ProfileStats(object): ...@@ -673,8 +672,6 @@ class ProfileStats(object):
# Store the max of some stats by any function in this profile. # Store the max of some stats by any function in this profile.
max_sum_size = max(max_sum_size, sum_size) max_sum_size = max(max_sum_size, sum_size)
max_node_memory_size = max(max_node_memory_size, node_memory_size) max_node_memory_size = max(max_node_memory_size, node_memory_size)
max_running_memory_size = max(max_running_memory_size,
running_memory_size)
max_running_max_memory_size = max(max_running_max_memory_size, max_running_max_memory_size = max(max_running_max_memory_size,
running_max_memory_size) running_max_memory_size)
max_node_memory_saved_by_view = max(max_node_memory_saved_by_view, max_node_memory_saved_by_view = max(max_node_memory_saved_by_view,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论