Show / Hide Table of Contents

    Method reshape

    val reshape: int64 list -> ITensor -> ITensor

    Changes the shape of a tensor.

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

    The target shape.

    ITensor a

    The tensor to operate on.

    Returns
    Type Description
    ITensor

    A tensor of the specified shape.

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