Learn R Programming

ggmlR (version 0.8.1)

as.matrix.ggml_matrix: Extract the underlying matrix from a ggml_matrix

Description

Extract the underlying matrix from a ggml_matrix

Usage

# S3 method for ggml_matrix
as.matrix(x, ...)

Value

The plain numeric matrix.

Arguments

x

A ggml_matrix.

...

Ignored; present for S3 as.matrix compatibility.