Fix assertion in TensorNetwork
Fix assertion in TensorNetwork

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