% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graph.R
\name{ggml_op_can_inplace}
\alias{ggml_op_can_inplace}
\title{Check if Operation Can Be Done In-place}
\usage{
ggml_op_can_inplace(op)
}
\arguments{
\item{op}{Operation code (integer)}
}
\value{
Logical indicating if operation supports in-place execution
}
\description{
Returns whether a GGML operation can reuse memory from its source tensors.
This is useful for memory optimization.
}
\examples{
\donttest{
# Check if operation code 1 (ADD) can be in-place
can_inplace <- ggml_op_can_inplace(1L)
}
}
\seealso{
Other graph: 
\code{\link{ggml_graph_view}()}
}
\concept{graph}
