Learn R Programming

ggmlR (version 0.8.4)

ggml_tensor_data_ptr: 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)

Value

The data address, as a double

Arguments

tensor

Tensor pointer