In Pytorch, you do not deal with maintaining different scopes as in TF.
Here, the network layers (torch.nn.*) are included with their own parameters internally.
I strongly suggest you to go through Pytorch tutorials:
  
      pytorch.org
  
  
    

Neural Networks — PyTorch Tutorials 1.7.1 documentation 41