Fig. 3: Neural network architectures and visualization of model’s attention.

a The improved MoCo architecture for pretraining. b The architecture of our multiscale convolutional network. c Attention visualization of our model to input ECG on three arrhythmias using CAM, the red background indicates where the model pays more attention. The purple circle indicates the human expert’s definition of this arrhythmia.