mmr12 / MGP-AttTCN

MGP-AttTCN: An Interpretable Machine Learning Model for the Prediction of Sepsis
MIT License
24 stars 8 forks source link

The Residual Block in src/models/TCN.py #4

Open Sathya98 opened 3 years ago

Sathya98 commented 3 years ago

In the residual block, after we run through the loop adding the dilated convolutional layers, we pass the output of the layers as the actual output of the TCN block. I couldn't find the residual connection where the output of each dilated layer is being added back to the input before passing it to the next dilated layer.

Could you please clarify if I'm missing something here in terms of adding the input to the dilated conv. layer back to the output?