Suppose we have an input image which is $\begin{pmatrix} 3 & 1 & 2 \\ 1 & 2 & 1 \\ 2 & 1 & 1 \end{pmatrix}$ and a convolution kernel which is $\begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 1 \\ 0 & 1 & 1 \end{pmatrix}$
Assume we set stride as 1 and padding as 0 (no padding), determine the output of the convolution.