Category "cupy"

How to convert a cupy.ndarray to a scalar?

I'm working with CuPy at the moment. I've noticed something that seems to be a bug, but I'm not sure. I've noticed that if I use certain math functions, they re

Difference between cupy.asnumpy() and get()

Given a CuPy array a, there are two ways to get a numpy array from it: a.get() and cupy.asnumpy(a). Is there any practical difference between them? import cupy

TypeError: lowerb is not a numpy array, neither a scalar

I needed to run some parts of the code in GPU using cupy instead of numpy. So, I only made comment out for this line # import numpy as np and used this line ins

In windows envs, Cupy get error in multithread.pool if GPU already used, even if I have used multiprocessing.set_start_method('spawn')

I use the chainer framework to train my CNN. In order to speed up, I use the cupy and multiprocess package. However, even if I have added the multiprocessing.se