Hi,
Please let me know if this is not the right place to post this! I am having some trouble understanding the documentation for torch.lu here:

  
      pytorch.org
  
  
    

torch.lu — PyTorch 1.6.0 documentation 3



  
  
    
    
  
  


Specifically, how is the returned pivots tensor defined? I thought that it would be the index of the pivot for each row during partial pivoting, but this is obviously not the case since the example given in the docs has [3,3,3] for the pivots. I could not find any additional documentation on this, so if someone has any ideas, please let me know!
Thanks!