Differentiable Bootstrap Particle Filters for Regime-Switching Models | Synapse