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

I've removed ScanInnerFunction. Scan now uses the same Function class ( and

calls the linker directly).
上级 83c7e294
...@@ -433,7 +433,7 @@ def pydotprint(fct, outfile=None, ...@@ -433,7 +433,7 @@ def pydotprint(fct, outfile=None,
outfile = os.path.join(config.compiledir,'theano.pydotprint.' + outfile = os.path.join(config.compiledir,'theano.pydotprint.' +
config.device + '.' + format) config.device + '.' + format)
if isinstance(fct, (Function, theano.scan_module.scan_utils.ScanInnerFunction)): if isinstance(fct, Function):
mode = fct.maker.mode mode = fct.maker.mode
fct_env = fct.maker.env fct_env = fct.maker.env
if not isinstance(mode,ProfileMode) or not mode.fct_call.has_key(fct): if not isinstance(mode,ProfileMode) or not mode.fct_call.has_key(fct):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论