image.png2260×1554 627 KB

Does pytorch have API function to directly implement local convolutional operator? If no, how should I do that?
I find the function in keras----local connected layer. In this function, the weights wouldn’t be shared in the same features map.
How about in pytorch.