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

Function af_gaussian_kernel

src/api/c/gaussian_kernel.cpp:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90af_err af_gaussian_kernel(af_array *out, const int rows, const int cols,
91 const double sigma_r, const double sigma_c) {
92 try {
93 af_array res;
94 res = getHandle<float>(
95 gaussianKernel<float>(rows, cols, sigma_r, sigma_c));
96 std::swap(*out, res);
97 }
98 CATCHALL;
99 return AF_SUCCESS;
100}

Callers 2

dogFunction · 0.70
gaussianKernelFunction · 0.50

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected