Method linearToIdx
val linearToIdx: TensorLayout -> int64 -> int64 list
Computes the index of a given linear index.
Declaration
val linearToIdx: a:TensorLayout -> linear:int64 -> int64 list
Parameters
Type | Name | Description |
---|---|---|
TensorLayout | a | |
int64 | linear |
Returns
Type | Description |
---|---|
int64 list |