提交 aaeecd41 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

fix bug reported by Benjamin about the profile_mode in theano.

上级 d12e8b81
...@@ -1496,7 +1496,7 @@ def profile_printer(fct_name, compile_time, fct_call_time, fct_call, ...@@ -1496,7 +1496,7 @@ def profile_printer(fct_name, compile_time, fct_call_time, fct_call,
if isinstance(node.op, Scan): if isinstance(node.op, Scan):
if v> 0: if v> 0:
scan_fct_time = node.op.mode_instance.fn_time scan_fct_time = node.op.mode_instance.fn_time
scan_op_time = sum(node.op.mode_instance.local_time) scan_op_time = node.op.mode_instance.local_time
total_super_scan_time += v total_super_scan_time += v
total_scan_fct_time += scan_fct_time total_scan_fct_time += scan_fct_time
total_scan_op_time += scan_op_time total_scan_op_time += scan_op_time
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论