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

Remove code not used. This is left over from old stuff.

上级 e2382f6a
...@@ -207,10 +207,6 @@ class Scan(PureOp): ...@@ -207,10 +207,6 @@ class Scan(PureOp):
if self.info['gpu'] or self.info['gpua']: if self.info['gpu'] or self.info['gpua']:
self._hash_inner_graph = self.info['gpu_hash'] self._hash_inner_graph = self.info['gpu_hash']
else: else:
tmp_in, tmp_out = scan_utils.reconstruct_graph(self.inputs,
self.outputs)
# This is actually required for the line just after.
gof.FunctionGraph(tmp_in, tmp_out, clone=False)
self._cmodule_key = gof.CLinker().cmodule_key_variables(self.inputs, self._cmodule_key = gof.CLinker().cmodule_key_variables(self.inputs,
self.outputs, self.outputs,
[]) [])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论