% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graph.R
\name{ggml_backend_tensor_get_data}
\alias{ggml_backend_tensor_get_data}
\title{Get Tensor Data via Backend}
\usage{
ggml_backend_tensor_get_data(tensor, offset = 0, n_elements = NULL)
}
\arguments{
\item{tensor}{Tensor pointer}

\item{offset}{Byte offset (default: 0)}

\item{n_elements}{Number of elements to retrieve (NULL for all)}
}
\value{
R vector with tensor data
}
\description{
Gets tensor data using the backend API. This works with tensors
allocated on any backend, not just CPU.
}
