提交 91e498ae authored 作者: Frederic's avatar Frederic

add GpuContiguous infer_shape

上级 a1ef6ac2
......@@ -3516,6 +3516,9 @@ class GpuContiguous(GpuOp):
assert i.is_c_contiguous()
out[0][0] = i
def infer_shape(self, node, xshp):
return xshp
def c_code(self, node, name, inp, out, sub):
input, = inp
z, = out
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论