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

remove deprecation warning

上级 ce72ca04
...@@ -1559,7 +1559,7 @@ def orig_function(inputs, outputs, mode=None, accept_inplace=False, ...@@ -1559,7 +1559,7 @@ def orig_function(inputs, outputs, mode=None, accept_inplace=False,
t2 = time.time() t2 = time.time()
if profile: if profile:
profile.compile_time += t2 - t1 profile.compile_time += t2 - t1
profile.nb_nodes = len(fn.maker.fgraph.nodes) profile.nb_nodes = len(fn.maker.fgraph.apply_nodes)
fn.name = name fn.name = name
fn.maker.fgraph.name = name fn.maker.fgraph.name = name
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论