Tutorials
Examples
References
Other
Community
chainer.backend.
get_array_module
Gets an appropriate one from numpy, cupy, or chainerx.
numpy
cupy
chainerx
This function will return their data arrays’ array module for Variable arguments.
Variable
args – Values to determine whether NumPy, CuPy, or ChainerX should be
used. –
cupy, numpy, or chainerx is returned based on the types of the arguments.
module