Learn R Programming

ggmlR (version 0.8.1)

ggml_arange: 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)

Value

1D F32 tensor

Arguments

ctx

GGML context

start

Start value (inclusive)

stop

Stop value (exclusive)

step

Step between values (default 1)