csr.py 文件源码

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

项目:skan 作者: jni 项目源码 文件源码
def numba_csgraph(csr, node_props=None):
    if node_props is None:
        node_props = np.broadcast_to(1., csr.shape[0])
        node_props.flags.writeable = True
    return CSGraph(csr.indptr, csr.indices, csr.data,
                   np.array(csr.shape, dtype=np.int32), node_props)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号