mindspore.ops.Reshape

class mindspore.ops.Reshape[source]
prim = ops.Reshape()
out = prim(input, shape)

is equivalent to

ops.reshape(input, shape)

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