Using artificial intelligence to generate 3D holograms in real-time