Add get_device_from_id and get_device_from_array
Add get_device_from_id and get_device_from_array

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