Ray and deep learning