Real-time 3D semantic occupancy prediction for autonomous vehicles using memory-efficient sparse convolution