"ml/path.go" did not exist on "dcfb7a105c455ae8d44a06b3380731d8b1ffcc22"
convert_cpu.h 158 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
#pragma once

#include <torch/extension.h>

torch::Tensor ind2ptr_cpu(torch::Tensor ind, int64_t M);
torch::Tensor ptr2ind_cpu(torch::Tensor ptr, int64_t E);