Hi Alfred!



 byteSamurai:

X.inverse().sqrt()



This is incorrect.  torch.sqrt() 2 computes the square-roots of the
individual elements of the tensor (not the matrix square-root).
(torch.inverse(), however, does compute the matrix inverse,
rather than the reciprocals of the individual elements.)
Best.
K. Frank