How implement Local connect layer?

Conventionally, convolutional layer have a property of weight shared. But the local connected layer don’t have weight shared property. How to implement by pytorch? Please give me some advices?

1 Like

just for completeness of the thread, context: https://github.com/pytorch/pytorch/pull/1583