| ggml_is_contiguous | R Documentation |
Returns TRUE if tensor data is stored contiguously in memory
ggml_is_contiguous(tensor)
tensor |
Tensor pointer |
Logical
ctx <- ggml_init(1024 * 1024)
t <- ggml_new_tensor_1d(ctx, GGML_TYPE_F32, 10)
ggml_is_contiguous(t)
ggml_free(ctx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.