llama_save_session_file function
- @Native<Bool Function(Pointer<
llama_context> , Pointer<Char> , Pointer<llama_token> , Size)>(ffi.Pointer<llama_context>, ffi.Pointer<ffi.Char>, ffi.Pointer<llama_token>, ffi.Size)>()
- Pointer<
llama_context> ctx, - Pointer<
Char> path_session, - Pointer<
llama_token> tokens, - int n_token_count,
Implementation
@ffi.Native<
ffi.Bool Function(
ffi.Pointer<llama_context>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<llama_token>,
ffi.Size,
)
>()
external bool llama_save_session_file(
ffi.Pointer<llama_context> ctx,
ffi.Pointer<ffi.Char> path_session,
ffi.Pointer<llama_token> tokens,
int n_token_count,
);