How To Read File With Numba
Is it possible for Numba to read a file? I tried using the standard Numpy method save and load and got a not-supported error. Is there any other format Numba can handle? If not, wh
Solution 1:
You will gain no benefit from reading the file within numba and np.load
is not supported (see here for the complete list of supported functions). Numba functions should, to get full benefit of the jit, just operate on scalars and arrays. Read the data in during your setup and then pass the arrays contained in the file into the numba-jitted function.
Post a Comment for "How To Read File With Numba"