Fix type casting of ufunc
Fix type casting of ufunc

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