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