dpnp.ndarray.choose

method

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

Construct an array from an index array and a set of arrays to choose from.

Refer to dpnp.choose for full documentation.