How to implement locally connected layer in Pytorch?

How do I implement a convolutional function without weight shared property(local connected layer)?

or should I build my own function to do that?

1 Like