提问人:PaleNeutron 提问时间:11/9/2023 最后编辑:PaleNeutron 更新时间:11/9/2023 访问量:38
为什么要导入numpy create threads?
Why import numpy create threads?
问:
mytest.py
:
import time
import numpy
time.sleep(1000)
print(1)
执行它并使用以下命令检查线程:
ps -eaf -T | grep mytest
并出现了 24 行。
但是如果我删除,只剩下一行。import numpy
答:
0赞
PaleNeutron
11/9/2023
#1
线程由 numpy 使用的数学库创建,例如。MKL、BLAS、openMP。
看:
评论