ggml_arange: Arange (Graph)

View source: R/operations.R

ggml_arangeR Documentation

Arange (Graph)

Description

Creates a 1D F32 tensor with values from start (inclusive) to stop (exclusive) in steps of step.

Usage

ggml_arange(ctx, start, stop, step = 1)

Arguments

ctx

GGML context

start

Start value (inclusive)

stop

Stop value (exclusive)

step

Step between values (default 1)

Value

1D F32 tensor


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