Hi,
Is there any way in Pytorch to get access to the layers of a model and weights in each layer without typing the layer name. Something like model.layers in keras which is discussed in the following:

  
      stackoverflow.com
  
  
      
    
  

  Keras: How to get layer index when already know layer name? 140



  python, keras



  asked by
  
  
    Nguyễn C&#244;ng Minh
  
  on 09:10AM - 03 May 18