在 theano.function 中,给定的 kw 的行为不一致
作者: lamblin创建于 2017年2月2日更新于 2025年1月26日
标签BugInterface
In the following code, when trying to replace a node by one of its descendants (which is already in the graph), the substitution is not done in a consistent way when using function(..., given={...}).
Using clone(..., replace={...}) is consistent, when there is only one substitution to make.
内容来源: Theano/Theano