| ggml_view_2d | R Documentation |
Creates a 2D view of a tensor starting at a byte offset. The view shares memory with the source tensor.
ggml_view_2d(ctx, a, ne0, ne1, nb1, offset = 0)
ctx |
GGML context |
a |
Source tensor |
ne0 |
Size of dimension 0 |
ne1 |
Size of dimension 1 |
nb1 |
Stride for dimension 1 (in bytes) |
offset |
Byte offset from the start of tensor data |
View tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.