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

There is no reason for mode_instance to be part of info and makes comparison

later harder ( we would need to check if two scan have the same mode_instance class or the same instance when we decide to merge??)
上级 ff354011
......@@ -165,7 +165,6 @@ class Scan(Op):
# the actual mode used to compile the function and the name of the
# function that we set in case none was given
self.info['name'] = self.name
self.info['mode_instance'] = self.mode_instance
wrapped_inputs = [Param(x,borrow=True) for x in inputs ]
wrapped_outputs = [Out(x, borrow=True) for x in outputs ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论