Modeling The Spatiotemporal Dynamics Of Active Regions On The Sun Using Deep Neural Networks