Multiphase flow prediction with deep neural networks