提交 f9e0c574 authored 作者: Melanie Ducoffe's avatar Melanie Ducoffe

remove do-merge

上级 4b81dbd1
...@@ -5508,9 +5508,6 @@ class AllocEmpty(gof.Op): ...@@ -5508,9 +5508,6 @@ class AllocEmpty(gof.Op):
# XXX: We could implement and call CudaNdarray.empty(sh) instead. # XXX: We could implement and call CudaNdarray.empty(sh) instead.
out[0] = numpy.empty(sh, dtype=self.dtype) out[0] = numpy.empty(sh, dtype=self.dtype)
def do_merge(self, node):
return False
def c_code(self, node, name, inputs, out_, sub): def c_code(self, node, name, inputs, out_, sub):
dtype = "NPY_"+self.dtype.upper() dtype = "NPY_"+self.dtype.upper()
out, = out_ out, = out_
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论