Show / Hide Table of Contents

    Method relayout

    val relayout: TensorLayout -> ITensor -> ITensor

    Creates a tensor with the specified layout sharing its storage with the original tensor.

    Declaration
    val relayout: newLayout:TensorLayout -> a:ITensor -> ITensor
    Parameters
    Type Name Description
    TensorLayout newLayout

    The new tensor memory layout.

    ITensor a

    The tensor to operate on.

    Returns
    Type Description
    ITensor

    The resulting tensor.

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