| 28 | } |
| 29 | |
| 30 | static inline unsigned getIdx(af::dim4 const& strides, int i, int j = 0, |
| 31 | int k = 0, int l = 0) { |
| 32 | return (l * strides[3] + k * strides[2] + j * strides[1] + i * strides[0]); |
| 33 | } |
| 34 | |
| 35 | template<typename T> |
| 36 | void gaussian1D(T* out, int const dim, double sigma = 0.0) { |
no outgoing calls
no test coverage detected