Learn R Programming

ggmlR (version 0.6.1)

ggml_tensor_nb: Get Tensor Strides (nb)

Description

Returns the byte strides for each dimension of the tensor.

Usage

ggml_tensor_nb(tensor)

Value

Numeric vector of 4 stride values (nb0, nb1, nb2, nb3)

Arguments

tensor

Tensor pointer