Method allIdx
val allIdx: ITensor -> seq<int64 list>
Gets a sequence of all indices to enumerate all elements within the tensor.
Declaration
val allIdx: a:ITensor -> seq<int64 list>
Parameters
Type | Name | Description |
---|---|---|
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
seq<int64 list> | Sequence of indicies. |
Remarks
The sequence sequentially enumerates the indices of all elements of the tensor.
See Also
Tensor`1.allIdxOfDim