Constrained transformer network for ECG signal processing and arrhythmia classification | Synapse