cupy.copyto#

cupy.copyto(dst, src, casting='same_kind', where=None)[source]#

Copies values from one array to another with broadcasting.

This function can be called for arrays on different devices. In this case, casting, where, and broadcasting is not supported, and an exception is raised if these are used.

Parameters:

See also

numpy.copyto()