chainer.backend.copyto¶
-
chainer.backend.
copyto
(dst, src)[source]¶ Copies the elements of an ndarray to those of another one.
This function can copy the CPU/GPU arrays to the destination arrays on another device.
Parameters: - dst (numpy.ndarray, cupy.ndarray or ideep4py.mdarray) – Destination array.
- src (numpy.ndarray, cupy.ndarray or ideep4py.mdarray) – Source array.