提交 a089f02f authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Make GpuAllocEmpty use the new way.

上级 4a49cc9e
......@@ -3291,7 +3291,7 @@ class GpuAllocEmpty(GpuOp):
def make_node(self, *shape):
shape, output = self.validate_shape(shape)
output.values_eq_approx = tensor.type.values_eq_approx_always_true
output.tag.values_eq_approx = tensor.type.values_eq_approx_always_true
return Apply(self, shape, [output])
def perform(self, node, inputs, out_):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论