My datasets are MNIST and ML library is MXNet
I used the CNN algorithm to practice ML. Then I found the reference guide, pages 6 and 7 .

I think that the default kernel is all instances of "1" in the matrix (core in MXNet). How to make a smooth core, for example, above a slide.
This is MXNet code with R.
mx.symbol.Convolution(data=data, kernel=c(5,5), num_filter=20)
source share