In the direct Fourier method, the input raw image is converted to the Fourier space multiple times. Use the Halide's cache mechanism to elimate such a redundant compute.
The current PR doesn't cache Kt * b = conv2d[h, b] = Ft * D * F * b though. To be done in the next PR.
In the direct Fourier method, the input raw image is converted to the Fourier space multiple times. Use the Halide's cache mechanism to elimate such a redundant compute.
The current PR doesn't cache
Kt * b = conv2d[h, b] = Ft * D * F * b
though. To be done in the next PR.See also: #12 .