Fix HierachicalSoftMax.check_type_forward and check_type_backward
Fix HierachicalSoftMax.check_type_forward and check_type_backward

t-abe/chainer,woodshop/complex-chainer,truongdq/chainer,okuta/chainer,jnishi/chainer,jfsantos/chainer,wkentaro/chainer,t-abe/chainer,cupy/cupy,aonotas/chainer,ktnyt/chainer,niboshi/chainer,ktnyt/chainer,Kaisuke5/chainer,benob/chainer,ktnyt/chainer,masia02/chainer,delta2323/chainer,kikusu/chainer,kiyukuta/chainer,ikasumi/chainer,kikusu/chainer,keisuke-umezawa/chainer,muupan/chainer,jnishi/chainer,tigerneil/chainer,kuwa32/chainer,hvy/chainer,chainer/chainer,keisuke-umezawa/chainer,ytoyama/yans_chainer_hackathon,hvy/chainer,chainer/chainer,truongdq/chainer,hvy/chainer,pfnet/chainer,elviswf/chainer,sou81821/chainer,hvy/chainer,okuta/chainer,cemoody/chainer,laysakura/chainer,wkentaro/chainer,niboshi/chainer,bayerj/chainer,jnishi/chainer,woodshop/chainer,tscohen/chainer,niboshi/chainer,keisuke-umezawa/chainer,umitanuki/chainer,muupan/chainer,hidenori-t/chainer,chainer/chainer,tkerola/chainer,AlpacaDB/chainer,okuta/chainer,AlpacaDB/chainer,benob/chainer,keisuke-umezawa/chainer,wavelets/chainer,cupy/cupy,sinhrks/chainer,1986ks/chainer,kashif/chainer,sinhrks/chainer,okuta/chainer,rezoo/chainer,niboshi/chainer,yanweifu/chainer,chainer/chainer,jnishi/chainer,wkentaro/chainer,cupy/cupy,minhpqn/chainer,ysekky/chainer,wkentaro/chainer,ktnyt/chainer,cupy/cupy,ronekko/chainer,anaruse/chainer