提交 cbf51c99 authored 作者: Frederic Bastien's avatar Frederic Bastien

fix small printing problem following profiler change.

上级 353cd469
...@@ -408,7 +408,7 @@ def pydotprint(fct, outfile=os.path.join(config.compiledir,'theano.pydotprint.pn ...@@ -408,7 +408,7 @@ def pydotprint(fct, outfile=os.path.join(config.compiledir,'theano.pydotprint.pn
def apply_name(node): def apply_name(node):
prof_str='' prof_str=''
if mode: if mode:
time = mode.apply_time.get((topo.index(node),node.op),0) time = mode.apply_time.get((topo.index(node),node),0)
#second, % total time in profiler, %fct time in profiler #second, % total time in profiler, %fct time in profiler
if mode.local_time[0]==0: if mode.local_time[0]==0:
pt=0 pt=0
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论