mindspore.ops.Select

class mindspore.ops.Select[source]
prim = ops.Select()
out = prim(condition, input, other)

is equivalent to

ops.select(condition, input, other)

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