mirror of
https://github.com/davrot/pytorch-sbs.git
synced 2025-07-06 11:00:02 +02:00
14 lines
328 B
C++
14 lines
328 B
C++
|
|
#include <pybind11/pybind11.h>
|
|
|
|
#include "SpikeGenerationCPU.h"
|
|
|
|
namespace py = pybind11;
|
|
|
|
PYBIND11_MODULE(PySpikeGenerationCPU, m) {
|
|
m.doc() = "SpikeGenerationCPU Module";
|
|
py::class_<SpikeGenerationCPU>(m, "SpikeGenerationCPU")
|
|
.def(py::init<>())
|
|
.def("spike_generation",
|
|
&SpikeGenerationCPU::entrypoint);
|
|
}
|