Learn R Programming

ggmlR (version 0.6.1)

ggml_is_permuted: Check if Tensor is Permuted

Description

Returns TRUE if tensor dimensions have been permuted

Usage

ggml_is_permuted(tensor)

Value

Logical

Arguments

tensor

Tensor pointer

Examples

Run this code
# \donttest{
ctx <- ggml_init(1024 * 1024)
t <- ggml_new_tensor_2d(ctx, GGML_TYPE_F32, 10, 20)
ggml_is_permuted(t)
ggml_free(ctx)
# }

Run the code above in your browser using DataLab