Commit 363c29ad authored by bowendeng's avatar bowendeng
Browse files

fix for unweighted graph partition

parent 1e959269
......@@ -7,7 +7,7 @@ PyMODINIT_FUNC PyInit__metis(void) { return NULL; }
#endif
torch::Tensor partition(torch::Tensor rowptr, torch::Tensor col,int64_t num_parts,
torch::optional<torch::Tensor> edge_wgt,bool recursive) {
torch::Tensor edge_wgt,bool recursive) {
if (rowptr.device().is_cuda()) {
#ifdef WITH_CUDA
AT_ERROR("No CUDA version supported");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment