Show / Hide Table of Contents

    Property T

    property T: Tensor<'T>

    Transpose of a matrix.

    Declaration
    property T: Tensor<'T> with get
    Property Value
    Type Description
    Tensor<'T>

    The transposed matrx.

    Remarks

    If the given tensor has more then two dimensions, the last two axes are swapped.

    The operation returns a view of the original tensor and shares its storage. Modifications done to the returned tensor will affect the original tensor. Also, modifying the orignal tensor will affect the view.

    Examples
     let a = HostTensor.zeros [3L; 5L]
     let b = a.T // b.Shape = [5L; 3L]
    See Also
    static member permuteAxes: int list -> Tensor<'T> -> Tensor<'T>
    static member swapDim: int -> int -> Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX