Method atLeast3D
val atLeast3D: ITensor -> ITensor
Pads the tensor from the left with size-one dimensions until it has at least three dimensions.
Declaration
val atLeast3D: a:ITensor -> ITensor
Parameters
| Type | Name | Description |
|---|---|---|
| ITensor | a | The tensor to operate on. |
Returns
| Type | Description |
|---|---|
| ITensor | A tensor with at least three dimensions. |