Method range
static member range: Rng list -> Tensor<'T> -> Tensor<'T>
Get a slice (part) of the tensor.
Declaration
static member range: rng:Rng list -> a:Tensor<'T> -> Tensor<'T>
Parameters
Type | Name | Description |
---|---|---|
Rng list | rng | The range of the tensor to select. |
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
Tensor<'T> | The resulting tensor. |