Method range
val range: Rng list -> ITensor -> ITensor
Get a slice (part) of the tensor.
Declaration
val range: rng:Rng list -> a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
Rng list | rng | The range of the tensor to select. |
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | The resulting tensor. |