MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / real_fft_forward

Function real_fft_forward

src/framework/audio/fft.cpp:83–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void real_fft_forward(
84 const TensorShape & input_shape,
85 const TensorStrideBytes & input_strides,
86 const TensorStrideBytes & output_strides,
87 size_t axis,
88 const float * data_in,
89 std::complex<float> * data_out,
90 float scale,
91 size_t threads) {
92 internal_fft::r2c(
93 input_shape,
94 input_strides,
95 output_strides,
96 axis,
97 internal_fft::FORWARD,
98 data_in,
99 data_out,
100 scale,
101 threads);
102}
103
104void real_fft_inverse(
105 const TensorShape & output_shape,

Callers 5

forwardMethod · 0.85
compute_complexMethod · 0.85
compute_roformer_stftFunction · 0.85

Calls 1

r2cFunction · 0.85

Tested by

no test coverage detected