chainer.backends.cuda.get_array_module¶
-
chainer.backends.cuda.get_array_module(*args)[source]¶ Gets an appropriate one from
numpyorcupy.This is almost equivalent to
cupy.get_array_module(). The differences are that this function can be used even if CUDA is not available and that it will return their data arrays’ array module forVariablearguments.Deprecated since version v5.0.0: This API is deprecated. Please use
get_array_module()instead.