dpnp.ndarray.put

ndarray.put(indices, vals, /, *, axis=None, mode='wrap')

Puts values of an array into another array along a given axis.

Refer to dpnp.put for full documentation.