A hybrid deep learning approach to vertexing