大家好,我详情加一个问题:
当我在用@jit(nopython=True)装饰一个函数的时候,这个函数还调用其他两个函数,这时候在调用其他函数的地方会报错:
numba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Untyped global name 'my_conv2d': cannot determine Numba type of <class 'function'>
我猜原因是不是numba没有合适的类型匹配这个函数的返回值或者输入值,但是确实都是常见的类型啊,这该怎么改呢?