Neural network explains the physics of an earthquake rupture