提交 e0180dff authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Use global hash in default nodename, so it is used in support code

上级 a3f02968
......@@ -588,7 +588,9 @@ class CLinker(link.Linker):
## ivnames + ovnames):
## sub[vname] = symbol[variable]
name = "node_%i" % node_num
# The placeholder will be replaced by a hash of the entire
# code (module + support code) in DynamicModule.code.
name = "node_<<<<HASH_PLACEHOLDER>>>>_%i" % node_num
isyms = [symbol[r] for r in node.inputs]
osyms = [symbol[r] for r in node.outputs]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论