fixed trailing whitespaces

This commit is contained in:
l3utterfly 2023-08-03 17:13:12 +08:00
parent 87fcdd971c
commit 81f347c19d

View file

@ -3744,17 +3744,17 @@ size_t llama_get_state_size(const struct llama_context * ctx) {
}
/** copy state data into either a buffer or file depending on the passed in context
*
*
* file context:
* llama_file file("/path", "wb");
* llama_data_file_context data_ctx(&file);
* llama_copy_state_data(ctx, &data_ctx);
*
*
* buffer context:
* std::vector<uint8_t> buf(max_size, 0);
* llama_data_buffer_context data_ctx(&buf.data());
* llama_copy_state_data(ctx, &data_ctx);
*
*
*/
void llama_copy_state_data(struct llama_context * ctx, llama_data_context * data_ctx) {
// copy rng