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

Function dft_1d

tests/validation/reference/DFT.cpp:332–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330
331template <typename T>
332SimpleTensor<T> dft_1d(const SimpleTensor<T> &src, FFTDirection direction)
333{
334 auto dst = dft_1d_core(src, direction);
335 if (direction == FFTDirection::Inverse)
336 {
337 const T scaling_factor = T(dst.shape()[0]);
338 scale(dst, scaling_factor);
339 }
340 return dst;
341}
342
343template <typename T>
344SimpleTensor<T> rdft_2d(const SimpleTensor<T> &src)

Callers 2

DATA_TEST_CASEFunction · 0.85
compute_referenceMethod · 0.85

Calls 3

dft_1d_coreFunction · 0.85
scaleFunction · 0.70
shapeMethod · 0.45

Tested by

no test coverage detected