Move _get_indices_or_sections method as module-level function
Move _get_indices_or_sections method as module-level function

hvy/chainer,tkerola/chainer,anaruse/chainer,hvy/chainer,chainer/chainer,chainer/chainer,hvy/chainer,okuta/chainer,wkentaro/chainer,okuta/chainer,ronekko/chainer,keisuke-umezawa/chainer,ktnyt/chainer,keisuke-umezawa/chainer,niboshi/chainer,chainer/chainer,hvy/chainer,pfnet/chainer,wkentaro/chainer,ktnyt/chainer,niboshi/chainer,jnishi/chainer,niboshi/chainer,jnishi/chainer,keisuke-umezawa/chainer,niboshi/chainer,chainer/chainer,ktnyt/chainer,jnishi/chainer,wkentaro/chainer,wkentaro/chainer,okuta/chainer,ktnyt/chainer,keisuke-umezawa/chainer,jnishi/chainer,okuta/chainer,rezoo/chainer