提交 83d734a2 authored 作者: Caglar's avatar Caglar

Fixed the compiled function print.

上级 31d4980d
...@@ -119,7 +119,7 @@ def debugprint(obj, depth=-1, print_type=False, ...@@ -119,7 +119,7 @@ def debugprint(obj, depth=-1, print_type=False,
for s in scan_ops: for s in scan_ops:
debugmode.debugprint(s, depth=depth, done=done, print_type=print_type, debugmode.debugprint(s, depth=depth, done=done, print_type=print_type,
file=_file, order=order, ids=ids, file=_file, ids=ids,
scan_ops=scan_ops, stop_on_name=stop_on_name) scan_ops=scan_ops, stop_on_name=stop_on_name)
if hasattr(s.owner, 'op') and isinstance(s.owner.op, theano.scan_module.scan_op.Scan): if hasattr(s.owner, 'op') and isinstance(s.owner.op, theano.scan_module.scan_op.Scan):
...@@ -128,7 +128,7 @@ def debugprint(obj, depth=-1, print_type=False, ...@@ -128,7 +128,7 @@ def debugprint(obj, depth=-1, print_type=False,
if isinstance(i.owner.op, theano.scan_module.scan_op.Scan): if isinstance(i.owner.op, theano.scan_module.scan_op.Scan):
scan_ops.append(i) scan_ops.append(i)
debugmode.debugprint(r=i, prefix=new_prefix, depth=depth, done=done, debugmode.debugprint(r=i, prefix=new_prefix, depth=depth, done=done,
print_type=print_type, file=file, order=order, print_type=print_type, file=file,
ids=ids, stop_on_name=stop_on_name, ids=ids, stop_on_name=stop_on_name,
prefix_child=new_prefix_child, scan_ops=scan_ops) prefix_child=new_prefix_child, scan_ops=scan_ops)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论