utils.py 文件源码

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

项目:det_k_bisbm 作者: junipertcy 项目源码 文件源码
def gen_equal_partition(n, total):
    all_nodes = np.arange(total)
    n_blocks = list(map(len, np.array_split(all_nodes, n)))

    return n_blocks
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号