HEOP
发表于 2020-7-24 12:15:02
楼主可以啊
陈尚涵
发表于 2020-7-24 15:00:27
我看看
QuinLan
发表于 2020-7-24 16:10:45
好想知道加的是什么哈哈哈哈
leizi666
发表于 2020-7-24 17:30:18
顶一下
陈尚涵
发表于 2020-8-18 20:34:41
我为啥报了一堆错误:
Warning (from warnings module):
File "C:\Users\Administrator\Desktop\a.py", line 3
@jit
NumbaWarning: [1m
Compilation is falling back to object mode WITH looplifting enabled because Function "foo" failed type inference due to: [1m[1mUnknown attribute 'time' of type Module(<module 'time' (built-in)>)
[1m
File "a.py", line 5:[0m
[1mdef foo(x,y):
[1m tt = time.time()
[0m [1m^[0m[0m
[0m
[0m[1mDuring: typing of get attribute at C:\Users\Administrator\Desktop\a.py (5)[0m
[1m
File "a.py", line 5:[0m
[1mdef foo(x,y):
[1m tt = time.time()
[0m [1m^[0m[0m
[0m
Warning (from warnings module):
File "C:\Users\Administrator\Desktop\a.py", line 3
@jit
NumbaWarning: [1m
Compilation is falling back to object mode WITHOUT looplifting enabled because Function "foo" failed type inference due to: [1m[1mcannot determine Numba type of <class 'numba.core.dispatcher.LiftedLoop'>[0m
[1m
File "a.py", line 7:[0m
[1mdef foo(x,y):
<source elided>
s = 0
[1m for i in range(x,y):
[0m [1m^[0m[0m
[0m[0m
Warning (from warnings module):
File "D:\python38\lib\site-packages\numba\core\object_mode_passes.py", line 177
warnings.warn(errors.NumbaWarning(warn_msg,
NumbaWarning: [1mFunction "foo" was compiled in object mode without forceobj=True, but has lifted loops.
[1m
File "a.py", line 5:[0m
[1mdef foo(x,y):
[1m tt = time.time()
[0m [1m^[0m[0m
[0m
Warning (from warnings module):
File "D:\python38\lib\site-packages\numba\core\object_mode_passes.py", line 187
warnings.warn(errors.NumbaDeprecationWarning(msg,
NumbaDeprecationWarning: [1m
Fall-back from the nopython compilation path to the object mode compilation path has been detected, this is deprecated behaviour.
For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit
[1m
File "a.py", line 5:[0m
[1mdef foo(x,y):
[1m tt = time.time()
[0m [1m^[0m[0m
贰耇孜
发表于 2020-8-18 22:35:23
看看
sansansa
发表于 2020-8-18 23:13:08
kkkk
mzx666
发表于 2020-8-19 11:01:10
6666666666666666666
hornwong
发表于 2020-8-19 11:07:48
{:5_95:}
lingfeng7434
发表于 2020-8-19 11:19:40
看到底如何
lijiachen
发表于 2020-8-19 11:21:12
简直就是为了欧拉计划而生(我拥有一堆算不完的暴力解法)
hu504011383
发表于 2020-8-19 14:03:18
跟大哥混有饭吃
guo763939889
发表于 2020-8-19 15:40:39
我来看看
十亿
发表于 2020-8-19 15:49:58
看一看
z2x2c8
发表于 2020-8-20 21:54:58
看看
冰清玉洁丸
发表于 2020-8-20 22:08:54
感谢楼主无私奉献
841462569
发表于 2020-8-20 22:18:18
??????????
miku520
发表于 2020-8-25 00:21:49
看看
jtxs0000
发表于 2020-8-25 09:29:57
{:10_275:}
ericshuiSC
发表于 2020-8-25 14:11:13
打开看看