As the title.There is an error when I tried to use torch.fft.fft.
torch.fft — PyTorch 2.1 documentation you may check this documentation