|
|
|
|
|
by onalark
3930 days ago
|
|
Thanks, I clearly wasn't being careful. I'll update my Gist... edit: On reviewing, I think the intent of the original blog post was to modify images in place (or at least to do it as quickly as possible with in-place filtering ok). In that case, I think my comparison is fair, since NumPy doesn't offer a faster way to do the requested operation. I didn't try out einsum, but I think Numba would outperform that as well. |
|