llama_memory_seq_keep function
- @Native<Void Function(llama_memory_t, llama_seq_id)>(llama_memory_t, llama_seq_id)>()
- llama_memory_t mem,
- int seq_id
Removes all tokens that do not belong to the specified sequence
Implementation
@ffi.Native<ffi.Void Function(llama_memory_t, llama_seq_id)>()
external void llama_memory_seq_keep(
llama_memory_t mem,
int seq_id,
);