chainer.backend.from_chx

chainer.backend.from_chx(array)[source]

Converts an array or arrays from ChainerX to NumPy or CuPy ones.

Destination array types are chosen such that no copies occur.