Does cnn use cross correlation or convolution?

Does CNN use cross correlation or convolution in practice?

Hi @arjun,
Its a Convolution operation in CNNs.
You can refer this nice article for a clear comparison between the two.

It is said that cross correlation is not commutative i.e a*b != b*a can you please explain this with help of an example in terms of an image and a filter.

I haven’t studied this in depth, will try to check for a resource to help you with this.