Method toSeq
val toSeq: Tensor<'T> -> seq<'T>
A sequence of all elements contained in the tensor.
Declaration
val toSeq: a:Tensor<'T> -> seq<'T>
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
seq<'T> | A sequence of all elements of the tensor. |
Type Parameters
Name | Description |
---|---|
'T | The type of the data. |
Remarks
The enumeration is done so that the last index is the fastest changing index.