Added DimensionError instead of asserts
Added DimensionError instead of asserts

wkentaro/chainer,wkentaro/chainer,chainer/chainer,niboshi/chainer,hvy/chainer,hvy/chainer,wkentaro/chainer,hvy/chainer,chainer/chainer,chainer/chainer,niboshi/chainer,chainer/chainer,pfnet/chainer,hvy/chainer,niboshi/chainer,wkentaro/chainer,niboshi/chainer