用法:
cugraph.dask.common.read_utils.get_chunksize(input_path)
计算dask_cudf.read_csv 的适当块大小以获得等于 GPU 数量的分区数。
例子:
>>> import cugraph.dask as dcg >>> # chunksize = dcg.get_chunksize(edge_list.csv)
相关用法
- Python cugraph.dask.community.louvain.louvain用法及代码示例
- Python cugraph.dask.centrality.katz_centrality.katz_centrality用法及代码示例
- Python cugraph.dask.traversal.bfs.bfs用法及代码示例
- Python cugraph.dask.traversal.sssp.sssp用法及代码示例
- Python cugraph.dask.link_analysis.pagerank.pagerank用法及代码示例
- Python cugraph.community.spectral_clustering.spectralBalancedCutClustering用法及代码示例
- Python cugraph.link_prediction.jaccard.jaccard用法及代码示例
- Python cugraph.link_prediction.wjaccard.jaccard_w用法及代码示例
- Python cugraph.community.ecg.ecg用法及代码示例
- Python cugraph.Graph.from_cudf_adjlist用法及代码示例
- Python cugraph.community.louvain.louvain用法及代码示例
- Python cugraph.tree.minimum_spanning_tree.maximum_spanning_tree用法及代码示例
- Python cugraph.centrality.betweenness_centrality.betweenness_centrality用法及代码示例
- Python cugraph.link_analysis.pagerank.pagerank用法及代码示例
- Python cugraph.traversal.bfs.bfs用法及代码示例
- Python cugraph.community.egonet.batched_ego_graphs用法及代码示例
- Python cugraph.tree.minimum_spanning_tree.minimum_spanning_tree用法及代码示例
- Python cugraph.Graph.from_cudf_edgelist用法及代码示例
- Python cugraph.centrality.betweenness_centrality.edge_betweenness_centrality用法及代码示例
- Python cugraph.link_prediction.woverlap.overlap_w用法及代码示例
注:本文由纯净天空筛选整理自rapids.ai大神的英文原创作品 cugraph.dask.common.read_utils.get_chunksize。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。