提交 0b742001 authored 作者: Caglar's avatar Caglar

removed the conditions.

上级 ebf371f8
...@@ -124,7 +124,6 @@ def debugprint(obj, depth=-1, print_type=False, ...@@ -124,7 +124,6 @@ def debugprint(obj, depth=-1, print_type=False,
file=_file, 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'):
for idx, i in enumerate(s.owner.op.outputs): for idx, i in enumerate(s.owner.op.outputs):
if hasattr(i, 'owner') and hasattr(i.owner, 'op'): if hasattr(i, 'owner') and hasattr(i.owner, 'op'):
if isinstance(i.owner.op, theano.scan_module.scan_op.Scan): if isinstance(i.owner.op, theano.scan_module.scan_op.Scan):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论