| ggml_is_contiguously_allocated | R Documentation |
Check if tensor data is contiguously allocated in memory. Different from contiguous layout - this checks the actual allocation.
ggml_is_contiguously_allocated(tensor)
tensor |
Tensor pointer |
Logical indicating if data is contiguously allocated
Other tensor_layout:
ggml_are_same_stride(),
ggml_can_repeat(),
ggml_count_equal(),
ggml_is_contiguous_0(),
ggml_is_contiguous_1(),
ggml_is_contiguous_2(),
ggml_is_contiguous_channels(),
ggml_is_contiguous_rows()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.