add type check to refuse 0-dimentional array.
add type check to refuse 0-dimentional array.

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