MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_fft_convolve2

Function af_fft_convolve2

src/api/c/fftconvolve.cpp:245–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245af_err af_fft_convolve2(af_array *out, const af_array signal,
246 const af_array filter, const af_conv_mode mode) {
247 try {
248 if (getInfo(signal).dims().ndims() < 2 &&
249 getInfo(filter).dims().ndims() < 2) {
250 return fft_convolve(out, signal, filter, mode == AF_CONV_EXPAND, 1);
251 }
252 return fft_convolve(out, signal, filter, mode == AF_CONV_EXPAND, 2);
253 }
254 CATCHALL;
255}
256
257af_err af_fft_convolve3(af_array *out, const af_array signal,
258 const af_array filter, const af_conv_mode mode) {

Callers 3

fftconvolveTestFunction · 0.85
fftConvolve2Function · 0.85
af_convolve2Function · 0.85

Calls 3

fft_convolveFunction · 0.85
ndimsMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected