decorators.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:dataset 作者: analysiscenter 项目源码 文件源码
def _workers_count():
    cpu_count = 0
    try:
        cpu_count = len(os.sched_getaffinity(0))
    except AttributeError:
        cpu_count = os.cpu_count()
    return cpu_count * 4
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号