chainer.backend.to_chx

chainer.backend.to_chx(array)[source]

Converts an array or arrays to ChainerX.

Destination ChainerX devices are chosen according to the types of input arrays.