mindspore.ops.Square

class mindspore.ops.Square[source]
prim = ops.Square()
out = prim(input)

is equivalent to

ops.square(input)

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