ggml_neg_inplace: Negation In-place (Graph)

View source: R/operations.R

ggml_neg_inplaceR Documentation

Negation In-place (Graph)

Description

Creates a graph node for in-place element-wise negation: -x

Usage

ggml_neg_inplace(ctx, a)

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)

Value

View of tensor a with negated values


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