Subdivision in Pytorch

I didn’t find any same mechanism of subdivision used by darknet in pytorch.
Do i miss it?
Is there any subdivision mechanism in pytorch?
Is there any subdivision implementation in pytorch