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:
step
must be non-zerolimit - start
must be zero or have the same sign asstep
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?