ggml_scale_inplace: Scale Tensor In-place (Graph)

View source: R/operations.R

ggml_scale_inplaceR Documentation

Scale Tensor In-place (Graph)

Description

Creates a graph node for in-place scaling: a * s

Usage

ggml_scale_inplace(ctx, a, s)

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)

s

Scalar value to multiply by

Value

View of tensor a with scaled values


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