mindspore.ops.Sign

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

is equivalent to

ops.sign(input)

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