Method Range
Range(TensorFloat, float, float)
Generates a 1D output tensor where the values form an arithmetic progression defined by the start
and delta
values.
Declaration
void Range(TensorFloat O, float start, float delta)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat | O | The output tensor to be computed and filled. |
float | start | The first value in the range. |
float | delta | The delta between subsequent values in the range. |
Range(TensorInt, int, int)
Generates a 1D output tensor where the values form an arithmetic progression defined by the start
and delta
values.
Declaration
void Range(TensorInt O, int start, int delta)
Parameters
Type | Name | Description |
---|---|---|
TensorInt | O | The output tensor to be computed and filled. |
int | start | The first value in the range. |
int | delta | The delta between subsequent values in the range. |