OurBigBook About$ Donate
 Sign in Sign up

CNN convolution kernels are also learnt

Ciro Santilli (@cirosantilli, 37) ... Computer Machine learning Neural network Artificial neural network ANN model Convolutional neural network
Updated 2025-07-16  0 By others on same topic  0 Discussions Create my own version
CNN convolution kernels are not hardcoded. They are learnt and optimized via backpropagation. You just specify their size! Example in PyTorch you'd do just:
nn.Conv2d(1, 6, kernel_size=(5, 5))
as used for example at: activatedgeek/LeNet-5.
This can also be inferred from: stackoverflow.com/questions/55594969/how-to-visualise-filters-in-a-cnn-with-pytorch where we see that the kernels are not perfectly regular as you'd expected from something hand coded.

 Ancestors (10)

  1. Convolutional neural network
  2. ANN model
  3. Artificial neural network
  4. Neural network
  5. Machine learning
  6. Computer
  7. Information technology
  8. Area of technology
  9. Technology
  10.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook