Discrete Fourier Transform - with torch

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