Refactor the cifar dataset loading code according to DRY. Avoid having separate and similar retrieval functions for cifar-10 and cifar-100.
Refactor the cifar dataset loading code according to DRY. Avoid having separate and similar retrieval functions for cifar-10 and cifar-100.

anaruse/chainer,cupy/cupy,keisuke-umezawa/chainer,ktnyt/chainer,okuta/chainer,ktnyt/chainer,keisuke-umezawa/chainer,niboshi/chainer,keisuke-umezawa/chainer,niboshi/chainer,wkentaro/chainer,wkentaro/chainer,ronekko/chainer,niboshi/chainer,hvy/chainer,hvy/chainer,chainer/chainer,aonotas/chainer,chainer/chainer,okuta/chainer,hvy/chainer,cupy/cupy,cupy/cupy,pfnet/chainer,wkentaro/chainer,jnishi/chainer,delta2323/chainer,kiyukuta/chainer,jnishi/chainer,keisuke-umezawa/chainer,hvy/chainer,kashif/chainer,chainer/chainer,niboshi/chainer,tkerola/chainer,chainer/chainer,cupy/cupy,ysekky/chainer,wkentaro/chainer,ktnyt/chainer,okuta/chainer,ktnyt/chainer,jnishi/chainer,okuta/chainer,rezoo/chainer,jnishi/chainer