Automatic velocity analysis using interpretable multi-mode neural networks