ggml_cumsum: Cumulative Sum (Graph)

View source: R/operations.R

ggml_cumsumR Documentation

Cumulative Sum (Graph)

Description

Creates a graph node computing the cumulative sum along the first dimension.

Usage

ggml_cumsum(ctx, a)

Arguments

ctx

GGML context

a

Input tensor

Value

Tensor of the same shape holding the running sum


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.