Learn R Programming

ggmlR (version 0.6.1)

ggml_neg_inplace: Negation In-place (Graph)

Description

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

Usage

ggml_neg_inplace(ctx, a)

Value

View of tensor a with negated values

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)