Ok, thanks a lot.
Also, I am working on training a convolutional neural network in the fourier domain. So after taking the rfft of the images and padded weights, I need to take their dot product which is the fourier domain equivalent of spatial domain convolution.
So just like the dot product operator on complex input here, I might need to use many other operators on complex inputs in my cnn.
Given that PyTorch doesn’t support a complex data type yet, is it advisable to continue in PyTorch or is it better to shift to another platform like TensorFlow etc. which supports complex data type?