Creates a 3D view of a tensor starting at a byte offset. The view shares memory with the source tensor.
ggml_view_3d(ctx, a, ne0, ne1, ne2, nb1, nb2, offset = 0)View tensor
GGML context
Source tensor
Size of dimension 0
Size of dimension 1
Size of dimension 2
Stride for dimension 1 (in bytes)
Stride for dimension 2 (in bytes)
Byte offset from the start of tensor data