Learn Before
Example
Example of Multi-Channel Cross-Correlation
Consider a two-dimensional cross-correlation with two input channels. To compute the first output element, the elementwise products for the first channel's input and kernel are summed and added to the elementwise products from the second channel. For instance, if the first channel yields and the second channel yields , the final value for that spatial location is . This process is repeated for each valid window position to produce the complete output tensor.
0
1
Updated 2026-05-12
Tags
D2L
Dive into Deep Learning @ D2L