dpnp.ndarray.choose

method

ndarray.choose(choices, out=None, mode='wrap')

Use an array as index array to construct a new array from a set of choices.

Refer to dpnp.choose for full documentation.