提交 018543c8 authored 作者: Frederic Bastien's avatar Frederic Bastien

in profile mode, the other time should use the theano fct time and not the op time.

上级 54170461
......@@ -287,7 +287,7 @@ class ProfileMode(Mode):
total_time = time.time() - import_time
total_fct_time = sum(fct_call_time.values())
total_fct_call = sum(fct_call.values())
other_time = total_time - local_time - compile_time
other_time = total_time - total_fct_time - compile_time
print
print 'Theano fct summary: <% total fct time> <total time> <time per call> <nb call> <fct name>'
for key in fct_call.keys():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论