Download python/pybind11/tests/test_embed/test_trampoline.py from camenduru/ncnn: direct link, hf CLI and curl.
- Browser
- Download file 275 Bytes
-
https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_embed/test_trampoline.py
- Command line
-
hf download hf://camenduru/ncnn/python/pybind11/tests/test_embed/test_trampoline.py
-
curl -L -o test_trampoline.py https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_embed/test_trampoline.py
275 Bytes
| import trampoline_module | |
| def func(): | |
| class Test(trampoline_module.test_override_cache_helper): | |
| def func(self): | |
| return 42 | |
| return Test() | |
| def func2(): | |
| class Test(trampoline_module.test_override_cache_helper): | |
| pass | |
| return Test() | |