llama_state_load_file function
- Pointer<
llama_context> ctx, - Pointer<
Char> path_session, - Pointer<
llama_token> tokens_out, - int n_token_capacity,
- Pointer<
Size> n_token_count_out,
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<llama_context>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<llama_token>,
ffi.Size,
ffi.Pointer<ffi.Size>,
)
>()
external bool llama_state_load_file(
ffi.Pointer<llama_context> ctx,
ffi.Pointer<ffi.Char> path_session,
ffi.Pointer<llama_token> tokens_out,
int n_token_capacity,
ffi.Pointer<ffi.Size> n_token_count_out,
);