| llama_memory_seq_cp | R Documentation |
Copies cached tokens from one sequence to another in the position range [p0, p1).
llama_memory_seq_cp(ctx, seq_id_src, seq_id_dst, p0 = -1L, p1 = -1L)
ctx |
Context handle returned by [llama_new_context] |
seq_id_src |
Source sequence ID |
seq_id_dst |
Destination sequence ID |
p0 |
Start position (inclusive, -1 for beginning) |
p1 |
End position (exclusive, -1 for end) |
No return value, called for side effects.
## Not run:
# Copy sequence 0 to sequence 1
llama_memory_seq_cp(ctx, seq_id_src = 0L, seq_id_dst = 1L,
p0 = -1L, p1 = -1L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.