Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference implementation of DFT and IDFT operations (openvinotoolkit#…
…4938) * Started to write the header file for (I)DFT reference implementation. * Continued to write the header file for (I)DFT reference implementation. * Renamed the header file for the reference implementation of (I)DFT. * Started to write an implementation file for the reference implementation of (I)DFT. * Continued to write an implementation file for the reference implementation of (I)DFT. * Continued to write an implementation file for the reference implementation of (I)DFT. * Small fix. * Written copying data from input and copying data to output. * Code style fixes. * Small fix. * Some fixes. * Some fixes. * Small fix. * Written naive version of (I)DFT calculation. * Some fixes. * Some fixes. * Some fixes. * Some fixes. * Some fixes. * Small fixes. * Written the draft of the reference implementation of (I)DFT. * Small fix. * Small fix. * Code style fixes. * Added evaluation of (I)DFT to evaluation_map.cpp. * Small fixes. * Some fixes. * Written test for evaluation of 1D DFT. * Fixed ngraph/test/CMakeLists.txt. * Disabled DFT evaluation test in CPU, because (I)DFT has not implemented yet in CPU. * Added debug prints to evaluation test of DFT. * Added debug prints into evaluate_map.cpp for DFT evaluation. * Added some debug prints into FFT calculation. * Added more debug prints. * Added more debug prints. * Added more debug prints. * Added more debug prints. * Added more debug prints. * Small fix. * Added more debug prints. * Added more debug prints. * Small change. * Some fixes. * Small fix. * Some changes. * Added more tests. * Added test for IDFT 1D calculation. * Some fixes. * Added more debug prints. * Small fix. * Small fix. * Some fixes. * Some fix. * Small fix. * Added tests for 2D case of IDFT. * Some fixes. * Written tests for 3D case of DFT. * Some fixes. * Small fix. * Added test for 3D case of IDFT. * Some fixes. * Deleted debug prints from tests for IDFT. * Deleted debug prints from tests for DFT. * Deleted debug prints from the reference implementation of (I)DFT. * Code style fixes. * Deleted debug prints from evaluates_map.cpp. * Written the header file for the base class of DFT and IDFT operations. * Written an implementation of the base class of DFT and IDFT. * Now nGraph IDFT operation class is a derived class of FFTBase. * Now the nGraph operation DFT is a derived class of FFTBase. * Added assert for axes in (I)DFT reference. * Small refactoring. * Deleted commented code. * Small refactoring. * Small fix. * Initialization of calculations of the reference implementation of (I)DFT was moved in the separate function. * Small fix. * Code style fix. * Small fix. * Now evaluate() of (I)DFT uses canonicalize_axes() from the reference implementation. * Code style fix. * Deleted commented code. * Added tests for i32 axes of DFT. * Added test for i32 axes of 2D DFT. * Added i32 axes case to test for 3D DFT. * Added test for i32 axes in tests for IDFT. * Written signal_size case test for 1D DFT. * Small fix. * Written test for signal_size case for 2D DFT. * Added test for bfloat16 input data of 1D DFT. * Small fix. * Small fix. * Small fix. * Some fixes. * Some fix. * Added bfloat16 input tests for 2D DFT. * Some fixes. * Written tests for bfloat16 input of 3D DFT. * Some fixes. * Some fixes. * Added tests for bfloat16 input of 1D IDFT. * Some fixes. * Added tests for bfloat16 input of 2D IDFT. * Added test for bfloat16 input of 3D IDFT. * Small fix. * Some fixes. * Added tests for float16 input of 1D DFT. * Small fix. * Written tests for float16 input of 2D and 3D DFT. * Small fix. * Some fixes. * Some fixes. * Written tests for float16 inputs of 1D, 2D, 3D IDFT. * Some fixes. * Some fixes. * Some fixes. * Some fixes. * Deleted redundant include. * Some fixes. * Added tests of 1D and 2D DFT for the case when some axes lengths are powers of 2. * Added tests for 3D DFT and 1D, 2D, 3D IDFT in the case when lengths of some axes are powers of 2. * Small fix. * Added some comments. * Added some comments.
- Loading branch information