提交 6d1bddbf authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Typo and small message modif

上级 4b71788e
...@@ -355,7 +355,7 @@ class ProfileMode(Mode): ...@@ -355,7 +355,7 @@ class ProfileMode(Mode):
total_time = time.time() - import_time total_time = time.time() - import_time
total_fct_time = sum(fct_call_time.values()) total_fct_time = sum(fct_call_time.values())
total_fct_call = sum(fct_call.values()) total_fct_call = sum(fct_call.values())
unknow_time = total_time - total_fct_time - compile_time unknown_time = total_time - total_fct_time - compile_time
print print
print 'Theano fct summary: <% total fct time> <total time> <time per call> <nb call> <fct name>' print 'Theano fct summary: <% total fct time> <total time> <time per call> <nb call> <fct name>'
for key in fct_call.keys(): for key in fct_call.keys():
...@@ -379,7 +379,7 @@ class ProfileMode(Mode): ...@@ -379,7 +379,7 @@ class ProfileMode(Mode):
print ' Linker time: %.3fs'%(other_time['linker_time']) print ' Linker time: %.3fs'%(other_time['linker_time'])
print 'Theano fct call %.3fs %.1f%%'%(total_fct_time,total_fct_time/total_time*100) print 'Theano fct call %.3fs %.1f%%'%(total_fct_time,total_fct_time/total_time*100)
print ' Theano Op time (included in fct call, Time spent running thunks) %.3fs %.1f%%(of total) %.1f%%(of fct call)'% (local_time,local_time/total_time*100, time_pr_in_fct) print ' Theano Op time (included in fct call, Time spent running thunks) %.3fs %.1f%%(of total) %.1f%%(of fct call)'% (local_time,local_time/total_time*100, time_pr_in_fct)
print 'Unknow time since import %.3fs %.1f%%'%(unknow_time,unknow_time/total_time*100) print 'Rest of the time since import %.3fs %.1f%%'%(unknown_time,unknown_time/total_time*100)
print '%i Theano fct call, %.3fs per call'%(total_fct_call, time_per_call) print '%i Theano fct call, %.3fs per call'%(total_fct_call, time_per_call)
print print
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论