Download python/pybind11/tests/test_cmake_build/main.cpp from camenduru/ncnn: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_cmake_build/main.cpp
- Command line
-
hf download hf://camenduru/ncnn/python/pybind11/tests/test_cmake_build/main.cpp
-
curl -L -o main.cpp https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_cmake_build/main.cpp
152 Bytes
| namespace py = pybind11; | |
| PYBIND11_MODULE(test_cmake_build, m) { | |
| m.def("add", [](int i, int j) { return i + j; }); | |
| } | |