gguf_tensor_data: Extract Tensor Data

View source: R/gguf.R

gguf_tensor_dataR Documentation

Extract Tensor Data

Description

Dequantizes (if needed) and returns tensor weights as an R numeric array with dimensions matching the tensor shape.

Usage

gguf_tensor_data(x, name)

Arguments

x

A gguf object.

name

Tensor name (character).

Value

A numeric array.


ggmlR documentation built on July 14, 2026, 1:08 a.m.