Hi,
I have written a post in stackoverflow regarding one of the examples in pytorch toturial:

  
      stackoverflow.com
  
  
      
    
  

  Pytorch NN and communication between classes 3



  python, pytorch



  asked by
  
  
    yousef yegane
  
  on 03:50PM - 06 Jan 19 UTC


  
  
    
    
  
  


and the tutorial is in here:
https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html 2
Could anybody, please explain how optim, net and criterion are related together. It only makes sense for me if the backward, and optimization happens under the Net class.