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

clarified comment.

上级 07b499b1
......@@ -1243,8 +1243,9 @@ def greedy_local_optimizer(list_optimizations, out):
So we don't optimize node that have an attribute env.
:note: This don't do an equilibrium... So if there is optimization
in the list, there can be case when calling this function
multiple time do think at each call.
like local_upcast_elemwise_constant_inputs in the list, that
add additional node to the inputs of the node, it can
be needed to call this function multiple time.
'''
def local_recursive_function( list_opt, out, optimized_vars, depth):
if not out.owner :
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论