mindspore.ops.Reshape

class mindspore.ops.Reshape[源代码]
prim = ops.Reshape()
out = prim(input, shape)

is equivalent to

ops.reshape(input, shape)

Refer to mindspore.ops.reshape() for more details.