Show / Hide Table of Contents

    Method tryReshapeView

    val tryReshapeView: int64 list -> ITensor -> ITensor option

    Tries to create a reshaped view of the tensor (without copying).

    Declaration
    val tryReshapeView: shp:int64 list -> a:ITensor -> ITensor option
    Parameters
    Type Name Description
    int64 list shp

    The target shape.

    ITensor a

    The tensor to operate on.

    Returns
    Type Description
    ITensor option

    The reshaped tensor, if reshaping without copying is possible. Otherwise None.

    See Also
    static member tryReshapeView: int64 list -> Tensor<'T> -> Tensor<'T> option
    Back to top Generated by DocFX