Does pytorch has layer like "LocallyConnected2D" in keras?

Does pytorch has layer like “LocallyConnected2D” in keras?
The LocallyConnected2D layer works similarly to the Conv2D layer, except that weights are unshared, that is, a different set of filters is applied at each different patch of the input.
https://www.tensorflow.org/api_docs/python/tf/keras/layers/LocallyConnected2D