Commit Graph

2 Commits

Author SHA1 Message Date
Aleksandr Pertovsky d2fb57dfe0
[CPU] Add DFT/IDFT ops (#5383) 2021-05-17 08:45:34 +03:00
Vladimir Gavrilov 62b1f655c0
DFT and IDFT nGraph Python API (#5387)
* Added nGraph Python API for operations DFT and IDFT.

* Written tests for the DFT Python API.

* Written tests for IDFT nGraph Python API.

* Small fixes.

* Started to add tests for the signal_size case.

* Written tests for signal_size case of DFT.

* Written tests for signal_size case of IDFT.

* Some code style fixes in IDFT nGraph Python API tests.

* Code style fixes in tests for DFT nGraph Python API.

* Now DFT nGraph Python API tests are used numpy FFT ressults as expected results of tests.

* Now IDFT nGraph Python API tests without signal_size are used numpy FFT result as input data.

* Now IDFT nGraph Python API tests use numpy IFFT as expected results for signal_size cases.

* Deleted redundant function.

* Formatting fix.

* Now test data for DFT and IDFT nGraph Python API are randomly generated.

* Added seed initialization.
2021-05-05 17:17:46 +03:00