Skip to main content

function

range_fill

range_fill(start: Symbol, limit: Symbol, step: Symbol) -> Symbol

Creates a sequence of numbers. The sequence goes from start with increments of size step up to (but not including) limit. All arguments are mandatory and must have the same element type.

Note the following restrictions on input values:

  1. step must be non-zero
  2. limit - start must be zero or have the same sign as step

Args:

  • start (Symbol): The start of the range to generate.
  • limit (Symbol): The range will be generated up to, but not including, this value.
  • step (Symbol): The step size for the range.

Returns:

A symbolic tensor value containing the defined range of values.