|
liblloyal 1.0.0
Composable primitives for llama.cpp inference
|
RAII guard for automatic batch cleanup Ensures llama_batch_free is called even if exceptions occur. More...
#include <embedding.hpp>
Public Member Functions | |
| BatchGuard (llama_batch &b) | |
| ~BatchGuard () | |
Public Attributes | |
| llama_batch & | batch |
RAII guard for automatic batch cleanup Ensures llama_batch_free is called even if exceptions occur.
Definition at line 168 of file embedding.hpp.
|
inlineexplicit |
Definition at line 170 of file embedding.hpp.
|
inline |
Definition at line 171 of file embedding.hpp.
| llama_batch& lloyal::embedding::detail::BatchGuard::batch |
Definition at line 169 of file embedding.hpp.