ggml_mul_inplace: Element-wise Multiplication In-place (Graph)

View source: R/operations.R

ggml_mul_inplaceR Documentation

Element-wise Multiplication In-place (Graph)

Description

Creates a graph node for in-place element-wise multiplication. Result is stored in tensor a, saving memory allocation.

Usage

ggml_mul_inplace(ctx, a, b)

Arguments

ctx

GGML context

a

First tensor (will be modified in-place)

b

Second tensor (same shape as a)

Value

View of tensor a with the multiplication result


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