| ggml_are_same_stride | R Documentation |
Check if two tensors have the same stride pattern. Useful for determining if tensors can share operations.
ggml_are_same_stride(a, b)
a |
First tensor |
b |
Second tensor |
Logical indicating if strides are identical
Other tensor_layout:
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(),
ggml_is_contiguously_allocated()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.