Method newOrdered
val newOrdered: int64 list -> int list -> TensorLayout
a ArrayND layout of the given shape and stride order
Declaration
val newOrdered: shp:int64 list -> strideOrder:int list -> TensorLayout
Parameters
Type | Name | Description |
---|---|---|
int64 list | shp | |
int list | strideOrder |
Returns
Type | Description |
---|---|
TensorLayout |