# Given an input of shape $(3, 32, 32)$, which is convolved with a $(3 \times 3)$ kernel, how do I calculate the FLOPS?

I have an input tensor of shape $$\mathbf{(3, 32, 32)}$$ consisting of 3 channels, 16 rows, and 16 columns. I want to convolve the input tensor using $$\mathbf{(3 \times 3)}$$ kernel/filter. How can I calculate the required FLOPs?

• FLOPs required to compute it Aug 11 at 8:53
• First, do you know what a FLOP is? Aug 11 at 8:54
• Floating point operations Aug 11 at 9:11
• And do you know how to calculate the output? If you know how to calculate the output, you should be able to count the FLOPs in the calculation. Aug 11 at 9:13
• I don't know how to. That's why I asked the question Aug 11 at 9:14