Method atLeast2D
static member atLeast2D: Tensor<'T> -> Tensor<'T>
Pads the tensor from the left with size-one dimensions until it has at least two dimensions.
Declaration
static member atLeast2D: a:Tensor<'T> -> Tensor<'T>
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
Tensor<'T> | A tensor with at least two dimensions. |