Starting from Numba 0.53, Numba will ship with an enhanced version of the @guvectorize
decorator. Similar to the @vectorize decorator, @guvectorize now has two modes of operation:
- Eager, or decoration-time compilation and
- Lazy, or call-time compilation
Before, only the eager approach was supported. In this mode, users are required to provide a list of concrete supported types beforehand as its first argument. Now, this list can be omitted if desired and as one calls it, Numba dynamically generates new kernels for previously unsupported types.
Read more… (3 min remaining to read)
from Planet SciPy
read more
No comments:
Post a Comment