metis_cpu.h 245 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
#pragma once

#include <torch/extension.h>

rusty1s's avatar
rusty1s committed
5
torch::Tensor partition_cpu(torch::Tensor rowptr, torch::Tensor col,
6
                            int64_t num_parts,torch::optional<torch::Tensor> edge_wgt,
bowendeng's avatar
bowendeng committed
7
                            bool recursive);