Method padLeft
val padLeft: ITensor -> ITensor
Insert a dimension of size one as the first dimension.
Declaration
val padLeft: a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | The resulting tensor. |