llama_copy_state_data method
Copies the state to the specified destination address. Destination needs to have allocated enough memory. Returns the number of bytes copied
Implementation
int llama_copy_state_data(
ffi.Pointer<llama_context> ctx,
ffi.Pointer<ffi.Uint8> dst,
) {
return _llama_copy_state_data(
ctx,
dst,
);
}