en…“more simple” just means the calling way is a little simpler. not to amend the input for fft:
image853×391 9.4 KB
it looks that it works well even the input is not with a limit that the last dimension of the tensor is always to be 2 representing the real and complex parts of a data point. (and i am matlab user, i am a little lazy. in matlab, i just call right function for right shaped data, such as fft for 1-dim, fft2 for 2-dim… i need to use pytorch but am not familiar with it. i am learning.)
extra:
image870×368 11.9 KB
is the demo for fftn right?
the input should be x but not be t?