dpnp.putmask

dpnp.putmask(x1, mask, values)[source]

Changes elements of an array based on conditional and input values.

For full documentation refer to numpy.putmask.

Limitations

Input arrays arr, mask and values are supported as dpnp.ndarray.