What is: Causal Convolution?
Source | WaveNet: A Generative Model for Raw Audio |
Year | 2000 |
Data Source | CC BY-SA - https://paperswithcode.com |
Causal convolutions are a type of convolution used for temporal data which ensures the model cannot violate the ordering in which we model the data: the prediction emitted by the model at timestep cannot depend on any of the future timesteps . For images, the equivalent of a causal convolution is a masked convolution which can be implemented by constructing a mask tensor and doing an element-wise multiplication of this mask with the convolution kernel before applying it. For 1-D data such as audio one can more easily implement this by shifting the output of a normal convolution by a few timesteps.