#include #include #include #include // NOTE: Visual Studio and ROCm builds don't understand complex literals // as of August 2020 // Simple test that verifies the fft namespace is registered properly // properly in C++ TEST(FFTTest, fft) { auto t = torch::randn(128, torch::dtype(torch::kComplexDouble)); torch::fft::fft(t); }