Method insertAxis
val insertAxis: int -> TensorLayout -> TensorLayout
Inserts an axis of size 1 before the specified position.
Declaration
val insertAxis: ax:int -> a:TensorLayout -> TensorLayout
Parameters
| Type | Name | Description |
|---|---|---|
| int | ax | |
| TensorLayout | a |
Returns
| Type | Description |
|---|---|
| TensorLayout |