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

Function af_convolve3

src/api/c/convolve.cpp:243–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243af_err af_convolve3(af_array *out, const af_array signal, const af_array filter,
244 const af_conv_mode mode, af_conv_domain domain) {
245 try {
246 if (getInfo(signal).dims().ndims() < 3 ||
247 getInfo(filter).dims().ndims() < 3) {
248 return af_convolve2(out, signal, filter, mode, domain);
249 }
250 if (isFreqDomain(3, signal, filter, domain)) {
251 return af_fft_convolve3(out, signal, filter, mode);
252 }
253 return convolve(out, signal, filter, mode, 3);
254 }
255 CATCHALL;
256}
257
258af_err af_convolve2_sep(af_array *out, const af_array col_filter,
259 const af_array row_filter, const af_array signal,

Callers 2

convolveTestFunction · 0.85
convolve3Function · 0.85

Calls 6

af_convolve2Function · 0.85
isFreqDomainFunction · 0.85
af_fft_convolve3Function · 0.85
convolveFunction · 0.70
ndimsMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected