Commit c8338385 authored by rusty1s's avatar rusty1s
Browse files

no so files

parent f568f19a
......@@ -6,3 +6,4 @@ dist/
.eggs/
*.egg-info/
.coverage
*.so
#include <torch/torch.h>
#include "graclus.cpp"
#include "grid.cpp"
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def("graclus", &graclus, "Graclus (CPU)");
m.def("grid", &grid, "Grid (CPU)");
}
......@@ -65,7 +65,3 @@ at::Tensor graclus(at::Tensor row, at::Tensor col, int num_nodes) {
return cluster;
}
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def("graclus", &graclus, "Graclus (CPU)");
}
......@@ -19,5 +19,3 @@ at::Tensor grid(at::Tensor pos, at::Tensor size, at::Tensor start,
return cluster;
}
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("grid", &grid, "Grid (CPU)"); }
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