How does pytorch implement local convolutional layer(local connected layer)?

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.

1 Like