Solved by Mazhar_Shaikh in post #2 
              
              
                Hi Rituraj, 
The depthwise convolutions are implemented in pytorch in the Conv modules with the group parameter. 
For an input of c channels, and depth multiplier of d, the nn.Conv2d parameters become 
in_channels = c 
out_channels = d*c 
groups = c