Learn R Programming

ggmlR (version 0.6.1)

ggml_get_max_tensor_size: Get Maximum Tensor Size

Description

Returns the maximum tensor size that can be allocated in the context

Usage

ggml_get_max_tensor_size(ctx)

Value

Maximum tensor size in bytes

Arguments

ctx

GGML context

Examples

Run this code
# \donttest{
ctx <- ggml_init(1024 * 1024)
ggml_get_max_tensor_size(ctx)
ggml_free(ctx)
# }

Run the code above in your browser using DataLab