Hello,
I have code in python that I am trying to import in Julia. I do the following:
np = pyimport("numpy");
pyimport("numba").guvectorize;
and in a separate file have
py"""
@guvectorize(['void(float64[:], float64[:], uint32[:], float64[:])'], '(n),(nq)->(nq),(nq)')
def myfunction(...)
If I remove @guvectorize
and run the file with the python code, it goes through, if I keep it, I get
NameError("name 'guvectorize' is not defined")
Am I importing it in the wrong way? Any ideas?
Best,