Learn R Programming

ggmlR (version 0.8.4)

ggml_cumsum: Cumulative Sum (Graph)

Description

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

Usage

ggml_cumsum(ctx, a)

Value

Tensor of the same shape holding the running sum

Arguments

ctx

GGML context

a

Input tensor