llama_load_session_file method

bool llama_load_session_file(
  1. Pointer<llama_context> ctx,
  2. Pointer<Char> path_session,
  3. Pointer<llama_token> tokens_out,
  4. int n_token_capacity,
  5. Pointer<Size> n_token_count_out,
)

Save/load session file

Implementation

bool llama_load_session_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,
) {
  return _llama_load_session_file(
    ctx,
    path_session,
    tokens_out,
    n_token_capacity,
    n_token_count_out,
  );
}