Show / Hide Table of Contents

    Method atLeast1D

    static member atLeast1D: Tensor<'T> -> Tensor<'T>

    Pads the tensor from the left with size-one dimensions until it has at least one dimension.

    Declaration
    static member atLeast1D: 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 one dimensions.

    See Also
    static member atLeastND: int -> Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX