Method atLeastND
val atLeastND: int -> ITensor -> ITensor
Pads the tensor from the left with size-one dimensions until it has at least the specified number of dimensions.
Declaration
val atLeastND: minDims:int -> a:ITensor -> ITensor
Parameters
Type | Name | Description |
---|---|---|
int | minDims | The minimum number of dimensions. |
ITensor | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
ITensor | A tensor with at least |