MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / ridft_1d

Function ridft_1d

tests/validation/reference/DFT.cpp:321–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319
320template <typename T>
321SimpleTensor<T> ridft_1d(const SimpleTensor<T> &src, bool is_odd)
322{
323 auto dst = rdft_1d_core(src, FFTDirection::Inverse, is_odd);
324
325 const T scaling_factor = T(dst.shape()[0]);
326 scale(dst, scaling_factor);
327
328 return dst;
329}
330
331template <typename T>
332SimpleTensor<T> dft_1d(const SimpleTensor<T> &src, FFTDirection direction)

Callers 1

DATA_TEST_CASEFunction · 0.85

Calls 3

rdft_1d_coreFunction · 0.85
scaleFunction · 0.70
shapeMethod · 0.45

Tested by

no test coverage detected