ggml_tensor_data_ptr: Raw Data Pointer of a Tensor

View source: R/operations.R

ggml_tensor_data_ptrR Documentation

Raw Data Pointer of a Tensor

Description

Returns the address of the tensor's data buffer as a numeric value. Useful for checking whether two tensors alias the same memory – a view and its source share a pointer.

Usage

ggml_tensor_data_ptr(tensor)

Arguments

tensor

Tensor pointer

Value

The data address, as a double


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.