Learn R Programming

ggmlR (version 0.6.1)

ggml_print_objects: Print Objects in Context

Description

Debug function to print all objects (tensors) in the context

Usage

ggml_print_objects(ctx)

Value

NULL (invisible)

Arguments

ctx

GGML context

Examples

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

Run the code above in your browser using DataLab