here’s the question:
enter image description here
Input :
33210
00131
31223
20022
20001
Output:
12 12 17
10 17 19
9 6 14
Please write the calculation process using JavaScript in jsbin:
Step 1: Find the three-dimensional array that can be multiplied with the convolution kernel
Step 2: Multiply the one-dimensional array with the convolution kernel
here’s my problem
enter image description here