Five ways to do least squares (with torch)

This is a companion discussion topic for the original entry at https://blogs.rstudio.com/tensorflow/posts/2022-10-13-torch-linalg