dpnp.place

dpnp.place(x, mask, vals, /)[source]

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

For full documentation refer to numpy.place.

Limitations

Parameters x, mask and vals are supported either as dpnp.ndarray or dpctl.tensor.usm_ndarray. Otherwise the function will be executed sequentially on CPU.