Download src/neural_runtime.hpp from chibifire/motion-bricks.cpp: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/src/neural_runtime.hpp
- Command line
-
hf download hf://chibifire/motion-bricks.cpp/src/neural_runtime.hpp
-
curl -L -o neural_runtime.hpp https://huggingface.co/chibifire/motion-bricks.cpp/resolve/main/src/neural_runtime.hpp
1.16 kB
| namespace motionbricks::detail { | |
| class neural_runtime; | |
| mb_status create_neural_runtime(const std::filesystem::path & bundle, | |
| mb_device device, std::uint32_t threads, | |
| const std::string & backend_directory, | |
| std::shared_ptr<neural_runtime> & output, | |
| std::string & reason); | |
| ggml_backend_t neural_backend(const neural_runtime & runtime) noexcept; | |
| ggml_tensor * neural_weight(const neural_runtime & runtime, | |
| std::string_view component, std::string_view name) noexcept; | |
| bool neural_copy_f32(const neural_runtime & runtime, | |
| std::string_view component, std::string_view name, | |
| std::vector<float> & output, std::string & reason); | |
| } // namespace motionbricks::detail | |