TABLA: A unified template-based framework for accelerating statistical machine learning | Synapse