ggml_sqr_inplace: Square In-place (Graph)

View source: R/operations.R

ggml_sqr_inplaceR Documentation

Square In-place (Graph)

Description

Creates a graph node for in-place element-wise square: x^2

Usage

ggml_sqr_inplace(ctx, a)

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)

Value

View of tensor a with squared values


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