Hi,
I am a beginner in pytorch. I want to define my proposed kernel and add it to a CNN. I am searching about 2 or 3 days. I am so confused! Because I do not know, I should implement CNN by C++ from scratch and build it and add it to pytorch or it is enough to implement a new convolution layer by my own kernel and add it to existing CNN in pytorch?!
I think the second solution is correct. If it is, I appreciate it if you guide me how do this 2 steps:
1. Making a c++ convolution layer or python method
2. Add this built new layer to a CNN in pytorch

Many thanks before all,
Zahra