Raise type error in to_cpu if array is neither numpy.ndarray nor cupy.ndarray
Raise type error in to_cpu if array is neither numpy.ndarray nor cupy.ndarray

truongdq/chainer,tkerola/chainer,keisuke-umezawa/chainer,AlpacaDB/chainer,cemoody/chainer,cupy/cupy,kashif/chainer,ysekky/chainer,niboshi/chainer,hvy/chainer,AlpacaDB/chainer,wkentaro/chainer,niboshi/chainer,okuta/chainer,rezoo/chainer,okuta/chainer,ktnyt/chainer,t-abe/chainer,delta2323/chainer,niboshi/chainer,wkentaro/chainer,t-abe/chainer,kikusu/chainer,ktnyt/chainer,jnishi/chainer,cupy/cupy,benob/chainer,okuta/chainer,cupy/cupy,muupan/chainer,pfnet/chainer,chainer/chainer,truongdq/chainer,sinhrks/chainer,aonotas/chainer,jnishi/chainer,jnishi/chainer,ronekko/chainer,ktnyt/chainer,wkentaro/chainer,ktnyt/chainer,anaruse/chainer,wkentaro/chainer,hvy/chainer,hvy/chainer,keisuke-umezawa/chainer,chainer/chainer,hvy/chainer,keisuke-umezawa/chainer,sinhrks/chainer,benob/chainer,kiyukuta/chainer,jnishi/chainer,muupan/chainer,chainer/chainer,kikusu/chainer,niboshi/chainer,cupy/cupy,chainer/chainer,okuta/chainer,keisuke-umezawa/chainer