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