Method arange
val arange: 'T -> 'T -> 'T -> Tensor<'T>
Creates a new vector filled with equaly spaced values using a specifed increment.
Declaration
val arange: start:'T -> incr:'T -> stop:'T -> Tensor<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| 'T | start | The starting value. |
| 'T | incr | The increment between successive element. |
| 'T | stop | The end value, which is not included. |
Returns
| Type | Description |
|---|---|
| Tensor<'T> | The new tensor. |
Type Parameters
| Name | Description |
|---|---|
| 'T | The data type of the new tensor. |
See Also
Tensor`1.arange``3