time.time() print('it took {} s'.format(time.time()-st_t)) 对于我的函数,使用装饰器@njit或@jit(nopython, in error_rewrite File "<string>", line 2, in reraise
numba.errors.TypingError: Failed in nopython mod
lib\site-packages\numba\six.py", line 668, in reraisenumba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Type of variable 'argmax' cannot be determined