def arange

stelliferous@0.0.2.0 · tensor_f32.bend:295

import stelliferous@0.0.2.0/tensor_f32.bend as TensorF32
import Base
import stelliferous@0.0.2.0/tensor.bend as Tensors

295# start, start + 1, ... as a rank-1 tensor of count elements.
296def arange(+start: F32,+count: U32) -> Tensor():
297  add_scalar(Tensors.apply_indexed(~F32,~(index => value => U32.to_f32(index)),1.0,zeros([count])),start)

Uses (8)

Used by (0)

No other definition uses this definition.